Files
postgres-json/src/main/resources/sql/migration/createFunctionSchema.sql
2022-10-15 00:38:54 +02:00

12 lines
375 B
SQL

CREATE SCHEMA IF NOT EXISTS migration;
CREATE TABLE IF NOT EXISTS migration.functions
(
filename text PRIMARY KEY,
definition text NOT NULL,
executed_at timestamp DEFAULT now() NOT NULL,
up text NOT NULL,
down text NOT NULL,
version int NOT NULL
);