From 412019287e15d6b6d52509d207ff4a6cd0bbdf0f Mon Sep 17 00:00:00 2001 From: "sylpheed.undine" <sylpheed.undine@gmail.com> Date: Fri, 8 Feb 2019 20:24:47 +0700 Subject: [PATCH] change database --- change() | 0 .../2019_02_08_131515_ChangeType.php | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 change() create mode 100644 database/migrations/2019_02_08_131515_ChangeType.php diff --git a/change() b/change() new file mode 100644 index 0000000..e69de29 diff --git a/database/migrations/2019_02_08_131515_ChangeType.php b/database/migrations/2019_02_08_131515_ChangeType.php new file mode 100644 index 0000000..3eb9162 --- /dev/null +++ b/database/migrations/2019_02_08_131515_ChangeType.php @@ -0,0 +1,36 @@ +<?php + +use Illuminate\Support\Facades\Schema; +use Illuminate\Database\Schema\Blueprint; +use Illuminate\Database\Migrations\Migration; + +class ChangeType extends Migration +{ + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::table('seminar_topiks', function ($table) { + $table->string('schedule')->change(); + }); + + Schema::table('seminar_proposals', function ($table) { + $table->string('schedule')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + // + }); + } +} -- GitLab