From de54e19d3a102cad6364a6f9f50dab48c2367683 Mon Sep 17 00:00:00 2001 From: Pitu Date: Sun, 10 May 2020 00:03:45 +0900 Subject: chore: remove the use of uuid --- src/api/database/migrations/20190221225812_initialMigration.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/api/database/migrations') 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'); -- cgit v1.2.3