Fix migration scripts
This commit is contained in:
parent
3ae6376abe
commit
c4bc85003f
|
@ -5,6 +5,7 @@ node_js:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- CXX=g++-4.9
|
- CXX=g++-4.9
|
||||||
|
- CC=gcc-4.9
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
|
@ -9,7 +9,7 @@ import { isTestInstance, root } from '../helpers/core-utils'
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
const LAST_MIGRATION_VERSION = 130
|
const LAST_MIGRATION_VERSION = 135
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -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',
|
Loading…
Reference in New Issue