-
Notifications
You must be signed in to change notification settings - Fork 8
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
Migrate to PostgreSQL #54
Commits on Aug 8, 2024
-
migrate everything to postgresql
for data migration: .dump the sqlite, edit the .sql to remove everything but the BEGIN TRANSACTION, INSERTs, and COMMIT, then edit it to look like this SET session_replication_role = 'replica'; -- Hack to make type checking more lenient, changed back later update pg_cast set castcontext='a' where casttarget = 'boolean'::regtype; -- Hack to allow int to boolean conversion, changed back later BEGIN TRANSACTION; tons of inserts COMMIT; update pg_cast set castcontext='e' where casttarget = 'boolean'::regtype; SET session_replication_role = 'origin'; then run migrations via the makefile on a new postgres db and then load the sql in
Configuration menu - View commit details
-
Copy full SHA for d9da97c - Browse repository at this point
Copy the full SHA d9da97cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cb27bc - Browse repository at this point
Copy the full SHA 5cb27bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eb87b6 - Browse repository at this point
Copy the full SHA 8eb87b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32a1294 - Browse repository at this point
Copy the full SHA 32a1294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22736af - Browse repository at this point
Copy the full SHA 22736afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b01bd2 - Browse repository at this point
Copy the full SHA 6b01bd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32acbb9 - Browse repository at this point
Copy the full SHA 32acbb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20dba88 - Browse repository at this point
Copy the full SHA 20dba88View commit details -
fix: wrong default order in tests
Tests were failing due to wrong default ordering of plugins being checked by them.
Configuration menu - View commit details
-
Copy full SHA for d5cd9d8 - Browse repository at this point
Copy the full SHA d5cd9d8View commit details -
chore: bump pytest asyncio and switch to freezer
Pytest freezegun is no longer maintained, switched to a fork. Also bumped pytest-asyncio due to inability to use async fixtures in other scopes than `function` in older version.
Configuration menu - View commit details
-
Copy full SHA for 763fac4 - Browse repository at this point
Copy the full SHA 763fac4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b292705 - Browse repository at this point
Copy the full SHA b292705View commit details -
refactor: no longer use db or freezer in seeder
Seeder (FakePluginGenerator) no longer uses logic from Database class nor the time freezer for seeding the database.
Configuration menu - View commit details
-
Copy full SHA for 14d0932 - Browse repository at this point
Copy the full SHA 14d0932View commit details -
refactor: Use transactional DB tests
Make use of DB transactions to rollback tests back to the original state instead of recreating DB on each test.
Configuration menu - View commit details
-
Copy full SHA for e61d217 - Browse repository at this point
Copy the full SHA e61d217View commit details -
Postgres doesn't like collate by NOCASE. but it does it by default an…
…yway so all good
Configuration menu - View commit details
-
Copy full SHA for 114287e - Browse repository at this point
Copy the full SHA 114287eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d74d9 - Browse repository at this point
Copy the full SHA e5d74d9View commit details -
fix: Revert back to pull_request_target
`pull_request` trigger needs some more work to be functional. Reverting back to `pull_request_target` for now.
Configuration menu - View commit details
-
Copy full SHA for 0bf3ec4 - Browse repository at this point
Copy the full SHA 0bf3ec4View commit details