From 0f2915fffeba2a41d157e766e61c4bbd86318415 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 7 Jul 2018 12:52:05 +0200 Subject: Updated migration --- .../2018_07_06_213554_create_public_key_table.php | 35 ---------------------- .../2018_07_07_104937_create_public_keys_table.php | 35 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 database/migrations/2018_07_06_213554_create_public_key_table.php create mode 100644 database/migrations/2018_07_07_104937_create_public_keys_table.php (limited to 'database') diff --git a/database/migrations/2018_07_06_213554_create_public_key_table.php b/database/migrations/2018_07_06_213554_create_public_key_table.php deleted file mode 100644 index 5a1dda4..0000000 --- a/database/migrations/2018_07_06_213554_create_public_key_table.php +++ /dev/null @@ -1,35 +0,0 @@ -increments('id'); - $table->integer('user_id')->unsigned()->unique(); - $table->string('key', 4096); - $table->timestamps(); - - $table->foreign('user_id')->references('id')->on('users'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('public_key'); - } -} diff --git a/database/migrations/2018_07_07_104937_create_public_keys_table.php b/database/migrations/2018_07_07_104937_create_public_keys_table.php new file mode 100644 index 0000000..5a1dda4 --- /dev/null +++ b/database/migrations/2018_07_07_104937_create_public_keys_table.php @@ -0,0 +1,35 @@ +increments('id'); + $table->integer('user_id')->unsigned()->unique(); + $table->string('key', 4096); + $table->timestamps(); + + $table->foreign('user_id')->references('id')->on('users'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('public_key'); + } +} -- cgit v1.2.3