aboutsummaryrefslogtreecommitdiff
path: root/src/api/database/migrations
diff options
context:
space:
mode:
authorPitu <[email protected]>2020-05-10 00:03:45 +0900
committerPitu <[email protected]>2020-05-10 00:03:45 +0900
commitde54e19d3a102cad6364a6f9f50dab48c2367683 (patch)
tree28a6249cf4c0103ff9ce85283b0e45de5e57cbd3 /src/api/database/migrations
parentFix: consistent hash of uploads (diff)
downloadhost.fuwn.me-de54e19d3a102cad6364a6f9f50dab48c2367683.tar.xz
host.fuwn.me-de54e19d3a102cad6364a6f9f50dab48c2367683.zip
chore: remove the use of uuid
Diffstat (limited to 'src/api/database/migrations')
-rw-r--r--src/api/database/migrations/20190221225812_initialMigration.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/api/database/migrations/20190221225812_initialMigration.js b/src/api/database/migrations/20190221225812_initialMigration.js
index 84bda7e..a27a08a 100644
--- a/src/api/database/migrations/20190221225812_initialMigration.js
+++ b/src/api/database/migrations/20190221225812_initialMigration.js
@@ -1,7 +1,6 @@
exports.up = async knex => {
await knex.schema.createTable('users', table => {
table.increments();
- table.string('uuid');
table.string('username');
table.text('password');
table.boolean('enabled');
@@ -15,7 +14,6 @@ exports.up = async knex => {
await knex.schema.createTable('albums', table => {
table.increments();
- table.string('uuid');
table.integer('userId');
table.string('name');
table.timestamp('zippedAt');
@@ -25,7 +23,6 @@ exports.up = async knex => {
await knex.schema.createTable('files', table => {
table.increments();
- table.string('uuid');
table.integer('userId');
table.string('name');
table.string('original');
@@ -39,7 +36,6 @@ exports.up = async knex => {
await knex.schema.createTable('links', table => {
table.increments();
- table.string('uuid');
table.integer('userId');
table.integer('albumId');
table.string('identifier');