diff --git a/database/migrations/2018_08_12_042648_update_status_table_change_caption_to_text.php b/database/migrations/2018_08_12_042648_update_status_table_change_caption_to_text.php new file mode 100644 index 000000000..caad9472b --- /dev/null +++ b/database/migrations/2018_08_12_042648_update_status_table_change_caption_to_text.php @@ -0,0 +1,38 @@ +getDatabasePlatform() + ->registerDoctrineTypeMapping('enum', 'string'); + } + + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + Schema::table('statuses', function ($table) { + $table->text('caption')->change(); + $table->text('rendered')->change(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}