Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supply naming_convention to SQLAlchemy metadata #93

Open
jace opened this issue Aug 25, 2016 · 1 comment
Open

Supply naming_convention to SQLAlchemy metadata #93

jace opened this issue Aug 25, 2016 · 1 comment

Comments

@jace
Copy link
Member

jace commented Aug 25, 2016

Since 0.9.2, SQLAlchemy has supported an explicit naming convention for foreign keys, indexes and constraints. Alembic also supports reading and honouring this naming convention.

Coaster should supply a naming convention that matches our conventions so far (and not the ones recommended in the Alembic manual) to ensure our migrations don't break in future on new database deployments.

@jace
Copy link
Member Author

jace commented Oct 14, 2016

As a counterpoint, we should adopt the recommended conventions and write migrations across all apps to rename the existing constraints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant