Files
tcg-collectors-server/migrations/001_create-collection-table.js
T
joseph.nelson4456 569a41f053
Build and Push Image / build-and-push (push) Failing after 24s
fixed things to be more inline with how migrations work
2026-05-12 23:27:49 -07:00

15 lines
232 B
JavaScript

export const up = (pgm) => {
pgm.sql(`
CREATE TABLE collection (
id UUID PRIMARY KEY,
name TEXT
);
`)
}
export const down = (pgm) => {
pgm.sql(`
DROP TABLE collection;
`)
}