-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
This bug is reproducible without extra code.
(atlas) user@hostname:~/repos/atlas-provider-sqlalchemy/tests$ pip list
Package Version Editable project location
--------------------------------- --------------------------------- -----------------------------------------------------
atlas-provider-sqlalchemy 0.2.0 /home/user/repos/atlas-provider-sqlalchemy
build 1.2.2
CacheControl 0.14.0
certifi 2024.8.30
cffi 1.17.1
charset-normalizer 3.3.2
cleo 2.1.0
click 8.1.7
crashtest 0.4.1
cryptography 43.0.1
distlib 0.3.8
dulwich 0.21.7
fastjsonschema 2.20.0
filelock 3.16.0
greenlet 3.1.0
idna 3.8
importlib_metadata 8.5.0
installer 0.7.0
jaraco.classes 3.4.0
jeepney 0.8.0
keyring 24.3.1
markdown-it-py 3.0.0
mdurl 0.1.2
more-itertools 10.5.0
msgpack 1.1.0
packaging 24.1
pexpect 4.9.0
pip 22.0.2
pkginfo 1.11.1
platformdirs 4.3.2
poetry 1.8.3
poetry-core 1.9.0
poetry-plugin-export 1.8.0
ptyprocess 0.7.0
pycparser 2.22
Pygments 2.18.0
pyproject_hooks 1.1.0
rapidfuzz 3.9.7
requests 2.32.3
requests-toolbelt 1.0.0
rich 13.8.1
SecretStorage 3.3.3
setuptools 59.6.0
shellingham 1.5.4
SQLAlchemy 2.0.34
tomli 2.0.1
tomlkit 0.13.2
trove-classifiers 2024.7.2
typer 0.12.5
typing_extensions 4.12.2
urllib3 2.2.3
virtualenv 20.26.4
zipp 3.20.1
(atlas) user@hostname:~/repos/atlas-provider-sqlalchemy/tests$ python ../atlas_provider_sqlalchemy/main.py --dialect postgresql --path models
CREATE TABLE user_account (id SERIAL NOT NULL, name VARCHAR(30) NOT NULL, fullname VARCHAR(30), PRIMARY KEY (id));
CREATE TABLE address (id SERIAL NOT NULL, email_address VARCHAR(30) NOT NULL, user_id INTEGER NOT NULL, PRIMARY KEY (id), FOREIGN KEY(user_id) REFERENCES user_account (id));
(atlas) user@hostname:~/repos/atlas-provider-sqlalchemy/tests$ atlas migrate diff --env sqlalchemy --config "file://atlas-script.hcl" --var dialect=postgresql
Error: exit status 1
hhk7734