diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 2 | ||||
-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 | ||
12 | const LAST_MIGRATION_VERSION = 130 | 12 | const 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', |