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

SQLite databases can not run the migrations #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bfiessinger
Copy link

As per https://www.techonthenet.com/sqlite/tables/alter_table.php#:~:text=You%20can%20not%20use%20the,data%20into%20the%20new%20table. SQLite Databases lack the support of using statements like ALTER TABLE therefore it is not possible to run the ``{date}_charify_countries_table` migrations on these setups.

Who even uses SQLite you may ask. Well if you think of automated tests it can be quite helpful to quickly setup a database using SQLite.

Using this PR the changes can be adapted even in such setups.

… incompatibilities with other Databases that do not support the ALTER TABLE statement
SQLite databases can not run the migrations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant