From 74eddfa1fac123f77a9c512842dad501ac2ecdd1 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 24 Jul 2020 16:40:16 +0200 Subject: [PATCH] New migration for #3200 --- .../2020_07_24_162820_changes_for_v540.php | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 database/migrations/2020_07_24_162820_changes_for_v540.php diff --git a/database/migrations/2020_07_24_162820_changes_for_v540.php b/database/migrations/2020_07_24_162820_changes_for_v540.php new file mode 100644 index 0000000000..4896026069 --- /dev/null +++ b/database/migrations/2020_07_24_162820_changes_for_v540.php @@ -0,0 +1,40 @@ +dropColumn('order'); + } + ); + } + + /** + * Run the migrations. + * + * @return void + */ + public function up(): void + { + Schema::table( + 'accounts', static function (Blueprint $table) { + $table->integer('order', false, true)->default(0); + } + ); + } +}