lemmy/migrations/2024-04-29-012113_custom_migration_runner/up.sql
Dull Bananas 542f81d4f1 fix sql
2024-05-11 19:37:55 +00:00

13 lines
273 B
SQL

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, '');