aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
Diffstat (limited to 'database')
-rw-r--r--database/migrations/2016_05_10_211558_create_random_logs_table.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/database/migrations/2016_05_10_211558_create_random_logs_table.php b/database/migrations/2016_05_10_211558_create_random_logs_table.php
new file mode 100644
index 0000000..f7fca92
--- /dev/null
+++ b/database/migrations/2016_05_10_211558_create_random_logs_table.php
@@ -0,0 +1,32 @@
+<?php
+
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Database\Migrations\Migration;
+
+class CreateRandomLogsTable extends Migration
+{
+ /**
+ * Run the migrations.
+ *
+ * @return void
+ */
+ public function up()
+ {
+ Schema::create('random_logs', function (Blueprint $table) {
+ $table->increments('id');
+ $table->string('request', 1023)->collate('utf8_general_ci');
+ $table->string('response', 24)->collate('utf8_general_ci');
+ $table->timestamp('created_at');
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
+ Schema::drop('random_logs');
+ }
+}