aboutsummaryrefslogtreecommitdiffhomepage
path: root/database/migrations/2018_06_30_203940_create_messages_table.php
diff options
context:
space:
mode:
authorMarvin Borner2018-07-20 13:57:57 +0200
committerMarvin Borner2018-07-20 13:57:57 +0200
commit932d439444f10774bff546923cc0a2e5e2f2857b (patch)
treeef9bcc039d263f929b4f4991881a52a8343c1dfe /database/migrations/2018_06_30_203940_create_messages_table.php
parentbd04ac097a0a29ba7c48a5f4a46d99ae7d86eea1 (diff)
Rewrite (only for backend/oauth/api use from now on)
Diffstat (limited to 'database/migrations/2018_06_30_203940_create_messages_table.php')
-rwxr-xr-xdatabase/migrations/2018_06_30_203940_create_messages_table.php34
1 files changed, 0 insertions, 34 deletions
diff --git a/database/migrations/2018_06_30_203940_create_messages_table.php b/database/migrations/2018_06_30_203940_create_messages_table.php
deleted file mode 100755
index f24bf21..0000000
--- a/database/migrations/2018_06_30_203940_create_messages_table.php
+++ /dev/null
@@ -1,34 +0,0 @@
-<?php
-
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class CreateMessagesTable extends Migration
-{
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::create('messages', function (Blueprint $table) {
- $table->increments('id');
- $table->integer('user_id')->unsigned();
- $table->text('message');
- $table->timestamps();
-
- $table->foreign('user_id')->references('id')->on('users');
- });
- }
-
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::drop('messages');
- }
-} \ No newline at end of file