diff --git a/database/migrations/2015_12_11_034958_remove_daemon_startup.php b/database/migrations/2015_12_11_034958_remove_daemon_startup.php new file mode 100644 index 000000000..026e6ad68 --- /dev/null +++ b/database/migrations/2015_12_11_034958_remove_daemon_startup.php @@ -0,0 +1,31 @@ +dropColumn('daemonStartup'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('servers', function (Blueprint $table) { + $table->text('daemonStartup')->after('port')->nullable(); + }); + } +} diff --git a/database/migrations/2015_12_11_041109_add_service_to_Server.php b/database/migrations/2015_12_11_041109_add_service_to_Server.php new file mode 100644 index 000000000..725943fca --- /dev/null +++ b/database/migrations/2015_12_11_041109_add_service_to_Server.php @@ -0,0 +1,33 @@ +mediumInteger('service')->unsigned()->after('port'); + $table->mediumInteger('option')->unsigned()->after('service'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('servers', function (Blueprint $table) { + $table->dropColumn('service'); + $table->dropColumn('option'); + }); + } +}