mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Fix PostgreSQL migrations V9 and V10 (#653)
* Fix #652 - PostgreSQL migrations V9 and V10 * Enable PostgreSQL smoke test
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -75,6 +75,6 @@ jobs:
|
||||
- name: Smoke test (Paper, MariaDB)
|
||||
run: ./gradlew :carbonchat-paper:runServer -PsmokeTest=true -PsmokeTestMode=mariadb
|
||||
timeout-minutes: 5
|
||||
#- name: Smoke test (Paper, Postgres)
|
||||
# run: ./gradlew :carbonchat-paper:runServer -PsmokeTest=true -PsmokeTestMode=postgres
|
||||
# timeout-minutes: 5
|
||||
- name: Smoke test (Paper, Postgres)
|
||||
run: ./gradlew :carbonchat-paper:runServer -PsmokeTest=true -PsmokeTestMode=postgres
|
||||
timeout-minutes: 5
|
||||
@@ -1 +1 @@
|
||||
ALTER TABLE carbon_users ALTER COLUMN muteexpiration TYPE BIGINT;
|
||||
ALTER TABLE carbon_users ALTER COLUMN muteexpiration TYPE BIGINT USING (CASE WHEN muteexpiration THEN 1 ELSE 0 END);
|
||||
@@ -1 +1 @@
|
||||
ALTER TABLE carbon_users ADD COLUMN muteexpiration BOOLEAN AFTER muted;
|
||||
ALTER TABLE carbon_users ADD COLUMN muteexpiration BOOLEAN;
|
||||
Reference in new issue
Block a user