lemmy/migrations/2024-11-18-012113_custom_migration_runner/up.sql
2024-11-18 17:16:11 -07:00

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