Skip to content

Commit

Permalink
migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 20, 2024
1 parent 9f8cd29 commit 807f788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/05-migration/db/migrations/core/024_370_to_380_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ local uh = require "spec/upgrade_helpers"
describe("database migration", function()
uh.old_after_up("has created the \"clustering_sync_version\" table", function()
assert.database_has_relation("clustering_sync_version")
assert.table_has_column("clustering_sync_version", "version", "serial")
assert.table_has_column("clustering_sync_version", "version", "integer")
end)

uh.old_after_up("has created the \"clustering_sync_delta\" table", function()
assert.database_has_relation("clustering_sync_delta")
assert.table_has_column("clustering_sync_delta", "version", "int")
assert.table_has_column("clustering_sync_delta", "version", "integer")
assert.table_has_column("clustering_sync_delta", "type", "text")
assert.table_has_column("clustering_sync_delta", "id", "uuid")
assert.table_has_column("clustering_sync_delta", "ws_id", "uuid")
Expand Down

0 comments on commit 807f788

Please sign in to comment.