From 6444a3111c66c32c9d0a8bf2a638957244984603 Mon Sep 17 00:00:00 2001 From: blair2004 Date: Wed, 26 Jan 2022 00:52:17 +0000 Subject: [PATCH] Fix Wrong Columns Assignation --- .../2020_06_20_000000_create_orders_payment_table.php | 1 - .../2021_05_25_131104_create_nexopos_payments_types_table.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/create-tables/2020_06_20_000000_create_orders_payment_table.php b/database/migrations/create-tables/2020_06_20_000000_create_orders_payment_table.php index 4618bf6f1..a6ea9f8e8 100755 --- a/database/migrations/create-tables/2020_06_20_000000_create_orders_payment_table.php +++ b/database/migrations/create-tables/2020_06_20_000000_create_orders_payment_table.php @@ -22,7 +22,6 @@ public function up() Schema::createIfMissing( 'nexopos_orders_payments', function( Blueprint $table ) { $table->bigIncrements( 'id' ); $table->integer( 'order_id' ); - $table->integer( 'priority' )->default(0); $table->float( 'value', 18, 5 )->default(0); $table->integer( 'author' ); $table->string( 'identifier' ); diff --git a/database/migrations/create-tables/2021_05_25_131104_create_nexopos_payments_types_table.php b/database/migrations/create-tables/2021_05_25_131104_create_nexopos_payments_types_table.php index 5b3223426..36329ed46 100755 --- a/database/migrations/create-tables/2021_05_25_131104_create_nexopos_payments_types_table.php +++ b/database/migrations/create-tables/2021_05_25_131104_create_nexopos_payments_types_table.php @@ -17,6 +17,7 @@ public function up() $table->id(); $table->string( 'label' ); $table->string( 'identifier' ); + $table->integer( 'priority' )->default(0); $table->text( 'description' )->nullable(); $table->integer( 'author' ); $table->boolean( 'active' )->default( true );