diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/migrations/0135-video-channel-actor.ts | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/server/initializers/migrations/0135-video-channel-actor.ts b/server/initializers/migrations/0135-video-channel-actor.ts index 3c5c10ad6..9b5acb338 100644 --- a/server/initializers/migrations/0135-video-channel-actor.ts +++ b/server/initializers/migrations/0135-video-channel-actor.ts | |||
@@ -39,15 +39,7 @@ async function up (utils: { | |||
39 | "createdAt" timestamp with time zone NOT NULL, | 39 | "createdAt" timestamp with time zone NOT NULL, |
40 | "updatedAt" timestamp with time zone NOT NULL | 40 | "updatedAt" timestamp with time zone NOT NULL |
41 | );`, | 41 | );`, |
42 | ` | 42 | `CREATE SEQUENCE actor_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1`, |
43 | CREATE SEQUENCE actor_id_seq | ||
44 | AS integer | ||
45 | START WITH 1 | ||
46 | INCREMENT BY 1 | ||
47 | NO MINVALUE | ||
48 | NO MAXVALUE | ||
49 | CACHE 1 | ||
50 | `, | ||
51 | `ALTER SEQUENCE actor_id_seq OWNED BY actor.id`, | 43 | `ALTER SEQUENCE actor_id_seq OWNED BY actor.id`, |
52 | `ALTER TABLE ONLY actor ALTER COLUMN id SET DEFAULT nextval('actor_id_seq'::regclass)`, | 44 | `ALTER TABLE ONLY actor ALTER COLUMN id SET DEFAULT nextval('actor_id_seq'::regclass)`, |
53 | `ALTER TABLE ONLY actor ADD CONSTRAINT actor_pkey PRIMARY KEY (id);`, | 45 | `ALTER TABLE ONLY actor ADD CONSTRAINT actor_pkey PRIMARY KEY (id);`, |