aboutsummaryrefslogtreecommitdiffstats
path: root/database/migrations/1566385379883_service_schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'database/migrations/1566385379883_service_schema.js')
-rw-r--r--database/migrations/1566385379883_service_schema.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/database/migrations/1566385379883_service_schema.js b/database/migrations/1566385379883_service_schema.js
deleted file mode 100644
index 093fb13..0000000
--- a/database/migrations/1566385379883_service_schema.js
+++ /dev/null
@@ -1,23 +0,0 @@
1
2/** @type {import('@adonisjs/lucid/src/Schema')} */
3const Schema = use('Schema');
4
5class ServiceSchema extends Schema {
6 up() {
7 this.create('services', (table) => {
8 table.increments();
9 table.string('userId', 80).notNullable();
10 table.string('serviceId', 80).notNullable();
11 table.string('name', 80).notNullable();
12 table.string('recipeId', 254).notNullable();
13 table.json('settings');
14 table.timestamps();
15 });
16 }
17
18 down() {
19 this.drop('services');
20 }
21}
22
23module.exports = ServiceSchema;