fixed naming of tables to be plural and fixed order of migration execution
Build and Push Image / build-and-push (push) Successful in 1m32s
Build and Push Image / build-and-push (push) Successful in 1m32s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export const up = (pgm) => {
|
||||
pgm.sql(`
|
||||
CREATE TABLE image (
|
||||
CREATE TABLE images (
|
||||
id UUID PRIMARY KEY,
|
||||
file TEXT,
|
||||
image BYTEA,
|
||||
@@ -12,6 +12,6 @@ export const up = (pgm) => {
|
||||
|
||||
export const down = (pgm) => {
|
||||
pgm.sql(`
|
||||
DROP TABLE image;
|
||||
DROP TABLE images;
|
||||
`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user