diff options
Diffstat (limited to 'src/server/database/migrations/1566554359294_workspace_schema.js')
-rw-r--r-- | src/server/database/migrations/1566554359294_workspace_schema.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/server/database/migrations/1566554359294_workspace_schema.js b/src/server/database/migrations/1566554359294_workspace_schema.js deleted file mode 100644 index b53bbe656..000000000 --- a/src/server/database/migrations/1566554359294_workspace_schema.js +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | |||
2 | /** @type {import('@adonisjs/lucid/src/Schema')} */ | ||
3 | const Schema = use('Schema'); | ||
4 | |||
5 | class WorkspaceSchema extends Schema { | ||
6 | up() { | ||
7 | this.create('workspaces', (table) => { | ||
8 | table.increments(); | ||
9 | table.string('workspaceId', 80).notNullable().unique(); | ||
10 | table.string('name', 80).notNullable(); | ||
11 | table.integer('order'); | ||
12 | table.json('services'); | ||
13 | table.json('data'); | ||
14 | table.timestamps(); | ||
15 | }); | ||
16 | } | ||
17 | |||
18 | down() { | ||
19 | this.drop('workspaces'); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | module.exports = WorkspaceSchema; | ||