From c9f77d78f7230560be1918325c720132c6b130a5 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Fri, 23 Aug 2019 10:37:06 +0200 Subject: Use UUID instead of number for service id --- database/migrations/1566385379883_service_schema.js | 1 + 1 file changed, 1 insertion(+) (limited to 'database/migrations/1566385379883_service_schema.js') diff --git a/database/migrations/1566385379883_service_schema.js b/database/migrations/1566385379883_service_schema.js index bdc066e..a725699 100644 --- a/database/migrations/1566385379883_service_schema.js +++ b/database/migrations/1566385379883_service_schema.js @@ -8,6 +8,7 @@ class ServiceSchema extends Schema { this.create('services', (table) => { table.increments() table.string('userId', 80).notNullable() + table.string('serviceId', 80).notNullable() table.string('name', 80).notNullable() table.string('recipeId', 254).notNullable() table.json('settings') -- cgit v1.2.3-54-g00ecf