diff options
author | 2019-10-20 17:44:09 +0200 | |
---|---|---|
committer | 2019-10-20 17:44:09 +0200 | |
commit | f09ebd80b32ee1beac2bfc1de358de14f947bdbc (patch) | |
tree | 4c953014d54bcc896a191a877dd4512f8cec9bf2 /database/migrations/1503250034279_user.js | |
parent | Add page to transfer user accounts (diff) | |
download | ferdium-server-f09ebd80b32ee1beac2bfc1de358de14f947bdbc.tar.gz ferdium-server-f09ebd80b32ee1beac2bfc1de358de14f947bdbc.tar.zst ferdium-server-f09ebd80b32ee1beac2bfc1de358de14f947bdbc.zip |
Implement user settings
Diffstat (limited to 'database/migrations/1503250034279_user.js')
-rw-r--r-- | database/migrations/1503250034279_user.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/database/migrations/1503250034279_user.js b/database/migrations/1503250034279_user.js index 5010bec..77f3cee 100644 --- a/database/migrations/1503250034279_user.js +++ b/database/migrations/1503250034279_user.js | |||
@@ -9,6 +9,7 @@ class UserSchema extends Schema { | |||
9 | table.string('username', 80).notNullable(); | 9 | table.string('username', 80).notNullable(); |
10 | table.string('email', 254).notNullable().unique(); | 10 | table.string('email', 254).notNullable().unique(); |
11 | table.string('password', 60).notNullable(); | 11 | table.string('password', 60).notNullable(); |
12 | table.json('settings'); | ||
12 | table.timestamps(); | 13 | table.timestamps(); |
13 | }); | 14 | }); |
14 | } | 15 | } |