From f5c28047574a7c8a1d74aaba0f7b21f613f155b6 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 30 Sep 2021 05:13:10 +0000 Subject: * Migration: Drop songs.text column --- .../2021_09_30_050234_alter_songs_table.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 laravel/database/migrations/2021_09_30_050234_alter_songs_table.php (limited to 'laravel') diff --git a/laravel/database/migrations/2021_09_30_050234_alter_songs_table.php b/laravel/database/migrations/2021_09_30_050234_alter_songs_table.php new file mode 100644 index 0000000..e7b7393 --- /dev/null +++ b/laravel/database/migrations/2021_09_30_050234_alter_songs_table.php @@ -0,0 +1,32 @@ +dropColumn('text'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('songs', function(Blueprint $table) { + $table->text('text'); + }); + } +} -- cgit 1.4.1