lemmy/migrations/2024-04-29-012113_custom_migration_runner/up.sql

13 lines
273 B
MySQL
Raw Normal View History

2024-05-11 19:37:55 +00:00
DROP SCHEMA IF EXISTS r CASCADE;
CREATE TABLE previously_run_sql (
-- For compatibility with Diesel
id boolean PRIMARY KEY,
-- Too big to be used as primary key
content text NOT NULL
);
INSERT INTO previously_run_sql (id, content)
VALUES (TRUE, '');
2024-05-04 14:00:39 +00:00