diff --git a/compass/database/migrations/2017_07_10_231240_database_settings.php b/compass/database/migrations/2017_07_10_231240_database_settings.php new file mode 100644 index 0000000..45cf0cd --- /dev/null +++ b/compass/database/migrations/2017_07_10_231240_database_settings.php @@ -0,0 +1,33 @@ +string('timezone', 100)->default('UTC'); + $table->boolean('metric')->default(true); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('databases', function (Blueprint $table) { + $table->dropColumn('timezone'); + $table->dropColumn('metric'); + }); + } +}