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 (
|
||||
id INT AUTO_INCREMENT PRIMARY KEY,
|
||||
message VARCHAR(255) NOT NULL,
|
||||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
INSERT INTO app_bootstrap_check (message)
|
||||
VALUES ('recipe-db initialized');
|
||||
-- Intentionally left blank.
|
||||
-- Prisma migrations must initialize the schema from an empty database.
|
||||
|
||||
Reference in New Issue
Block a user