Files
tcg-collectors-server/migrations/002_create-image-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

16 lines
245 B
JavaScript

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