aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-19 13:44:00 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 13:44:00 +0100
commitf9fcb010b03fed60f07b5e09d4dfc8ba2a720741 (patch)
tree3d2ce18730f768017f7e9446d903b96858a6c0cd /server/initializers
parent393b5ab85eca6afe745605ed8de5bb4f46333041 (diff)
downloadPeerTube-f9fcb010b03fed60f07b5e09d4dfc8ba2a720741.tar.gz
PeerTube-f9fcb010b03fed60f07b5e09d4dfc8ba2a720741.tar.zst
PeerTube-f9fcb010b03fed60f07b5e09d4dfc8ba2a720741.zip
Fix migration
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/migrations/0135-video-channel-actor.ts10
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);`,