We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
timetable.migration
migrate_v3_to_v4.sql
1 parent ff1a899 commit 2f2fcf1Copy full SHA for 2f2fcf1
1 file changed
extras/migrate_v3_to_v4.sql
@@ -10,6 +10,17 @@ ALTER SCHEMA timetable RENAME TO timetable_v3;
10
-- create the v4 initial schema
11
CREATE SCHEMA timetable;
12
13
+CREATE TABLE timetable.migration(
14
+ id INT8 NOT NULL,
15
+ version TEXT NOT NULL,
16
+ PRIMARY KEY (id)
17
+);
18
+
19
+INSERT INTO
20
+ timetable.migration (id, version)
21
+VALUES
22
+ (0, '00259 Restart migrations for v4');
23
24
CREATE TYPE timetable.command_kind AS ENUM ('SQL', 'PROGRAM', 'BUILTIN');
25
26
CREATE TABLE timetable.task (
0 commit comments