Fix migration scripts

This commit is contained in:
Chocobozzz 2017-12-19 11:24:13 +01:00
parent 3ae6376abe
commit c4bc85003f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ node_js:
env: env:
- CXX=g++-4.9 - CXX=g++-4.9
- CC=gcc-4.9
addons: addons:
apt: apt:

View File

@ -9,7 +9,7 @@ import { isTestInstance, root } from '../helpers/core-utils'
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
const LAST_MIGRATION_VERSION = 130 const LAST_MIGRATION_VERSION = 135
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------

View File

@ -10,6 +10,7 @@ async function up (utils: {
// Create actor table // Create actor table
{ {
const queries = [ const queries = [
`DROP TYPE IF EXISTS enum_actor_type`,
` `
CREATE TYPE enum_actor_type AS ENUM ( CREATE TYPE enum_actor_type AS ENUM (
'Group', 'Group',