From 982aecb4cc3984b1ba7f5ca07cc9537ec984ee92 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 30 Dec 2018 13:51:42 -0700 Subject: [PATCH] Add new migration --- ...update_profiles_table_use_text_for_bio.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2018_12_30_065102_update_profiles_table_use_text_for_bio.php diff --git a/database/migrations/2018_12_30_065102_update_profiles_table_use_text_for_bio.php b/database/migrations/2018_12_30_065102_update_profiles_table_use_text_for_bio.php new file mode 100644 index 000000000..96443631a --- /dev/null +++ b/database/migrations/2018_12_30_065102_update_profiles_table_use_text_for_bio.php @@ -0,0 +1,32 @@ +text('bio')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('profiles', function (Blueprint $table) { + $table->string('bio')->nullable()->change(); + }); + } +}