From f29111309d4ae3d20c2ead4ffb75299d7cdf8c9a Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Wed, 21 Sep 2016 16:57:39 -0400 Subject: [PATCH] Somehow this migration slipped through and was never added --- ...9_21_165554_update_servers_column_name.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 database/migrations/2016_09_21_165554_update_servers_column_name.php diff --git a/database/migrations/2016_09_21_165554_update_servers_column_name.php b/database/migrations/2016_09_21_165554_update_servers_column_name.php new file mode 100644 index 000000000..064c57c3b --- /dev/null +++ b/database/migrations/2016_09_21_165554_update_servers_column_name.php @@ -0,0 +1,32 @@ +renameColumn('server', 'server_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('databases', function (Blueprint $table) { + $table->renameColumn('server_id', 'server'); + }); + } +}