Default zone only when default=true

This commit is contained in:
Deon George
2021-08-18 00:13:25 +10:00
parent 259ea01fd1
commit e8df6f7103
2 changed files with 6 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ class DefaultRoute extends Migration
*/
public function down()
{
DB::statement("DROP UNIQUE INDEX default_zone");
DB::statement("DROP INDEX default_zone");
Schema::table('system_zone', function (Blueprint $table) {
$table->dropColumn('default');