aboutsummaryrefslogtreecommitdiffstats
path: root/database/migrations
diff options
context:
space:
mode:
authorLibravatar vantezzen <properly@protonmail.com>2019-08-23 10:37:06 +0200
committerLibravatar vantezzen <properly@protonmail.com>2019-08-23 10:37:06 +0200
commitc9f77d78f7230560be1918325c720132c6b130a5 (patch)
tree4d36154a4a2b4c3c2746e5f8e6ce2ac4ae79fb7b /database/migrations
parentInitial commit (diff)
downloadferdium-server-c9f77d78f7230560be1918325c720132c6b130a5.tar.gz
ferdium-server-c9f77d78f7230560be1918325c720132c6b130a5.tar.zst
ferdium-server-c9f77d78f7230560be1918325c720132c6b130a5.zip
Use UUID instead of number for service id
Diffstat (limited to 'database/migrations')
-rw-r--r--database/migrations/1566385379883_service_schema.js1
1 files changed, 1 insertions, 0 deletions
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 {
8 this.create('services', (table) => { 8 this.create('services', (table) => {
9 table.increments() 9 table.increments()
10 table.string('userId', 80).notNullable() 10 table.string('userId', 80).notNullable()
11 table.string('serviceId', 80).notNullable()
11 table.string('name', 80).notNullable() 12 table.string('name', 80).notNullable()
12 table.string('recipeId', 254).notNullable() 13 table.string('recipeId', 254).notNullable()
13 table.json('settings') 14 table.json('settings')