aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-19 11:24:13 +0100
committerChocobozzz <me@florianbigard.com>2017-12-19 11:25:20 +0100
commitc4bc85003fd0dd430f68c775f5f0a032538600e2 (patch)
treea62af28acbf4c859c0ac7d3a12b70fdadc8a8cce /server/initializers
parent3ae6376abee7c0ec5d74414d471b02e01ec53af8 (diff)
downloadPeerTube-c4bc85003fd0dd430f68c775f5f0a032538600e2.tar.gz
PeerTube-c4bc85003fd0dd430f68c775f5f0a032538600e2.tar.zst
PeerTube-c4bc85003fd0dd430f68c775f5f0a032538600e2.zip
Fix migration scripts
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
-rw-r--r--server/initializers/migrations/0135-video-channel-actor.ts (renamed from server/initializers/migrations/0130-video-channel-actor.ts)1
2 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 4cb54dc93..2ea2aa6b9 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -9,7 +9,7 @@ import { isTestInstance, root } from '../helpers/core-utils'
9 9
10// --------------------------------------------------------------------------- 10// ---------------------------------------------------------------------------
11 11
12const LAST_MIGRATION_VERSION = 130 12const LAST_MIGRATION_VERSION = 135
13 13
14// --------------------------------------------------------------------------- 14// ---------------------------------------------------------------------------
15 15
diff --git a/server/initializers/migrations/0130-video-channel-actor.ts b/server/initializers/migrations/0135-video-channel-actor.ts
index fab77cf4a..3c5c10ad6 100644
--- a/server/initializers/migrations/0130-video-channel-actor.ts
+++ b/server/initializers/migrations/0135-video-channel-actor.ts
@@ -10,6 +10,7 @@ async function up (utils: {
10 // Create actor table 10 // Create actor table
11 { 11 {
12 const queries = [ 12 const queries = [
13 `DROP TYPE IF EXISTS enum_actor_type`,
13 ` 14 `
14 CREATE TYPE enum_actor_type AS ENUM ( 15 CREATE TYPE enum_actor_type AS ENUM (
15 'Group', 16 'Group',