refactor(init-script): simplify initialization script for Prisma migrations
This commit is contained in:
@@ -1,8 +1,2 @@
|
|||||||
CREATE TABLE IF NOT EXISTS app_bootstrap_check (
|
-- Intentionally left blank.
|
||||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
-- Prisma migrations must initialize the schema from an empty database.
|
||||||
message VARCHAR(255) NOT NULL,
|
|
||||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
||||||
);
|
|
||||||
|
|
||||||
INSERT INTO app_bootstrap_check (message)
|
|
||||||
VALUES ('recipe-db initialized');
|
|
||||||
|
|||||||
Reference in New Issue
Block a user