This commit is contained in:
Kevin Adametz 2022-06-15 18:08:45 +02:00
parent 9b0b5feb7e
commit 7a040c3e19
106 changed files with 4074 additions and 1349 deletions

View file

@ -41,6 +41,8 @@ class CreateProductsTable extends Migration
$table->unsignedTinyInteger('unit')->nullable();
$table->string('number')->nullable();
$table->string('ean')->nullable();
$table->unsignedInteger('wp_number')->nullable();
$table->string('icons')->nullable(); //as array cast

View file

@ -70,7 +70,10 @@ class CreateUserAccountsTable extends Migration
$table->string('instagram')->nullable();
$table->text('payment_data')->nullable();
$table->string('bank_owner')->nullable();
$table->string('bank_iban')->nullable();
$table->string('bank_bic')->nullable();
$table->timestamp('data_protection')->nullable();
$table->timestamp('accepted_contract')->nullable();
$table->text('notice')->nullable();

View file

@ -18,12 +18,23 @@ class CreateUserLevelsTable extends Migration
$table->string('name')->index();
$table->text('trans_name')->nullable();
$table->decimal('margin', 8, 2)->nullable();
$table->unsignedTinyInteger('margin')->nullable();
$table->unsignedTinyInteger('margin_shop')->nullable();
$table->unsignedSmallInteger('qual_kp')->nullable();
$table->unsignedInteger('qual_tp')->nullable();
$table->unsignedTinyInteger('growth_bonus')->nullable();
$table->unsignedTinyInteger('pr_line_1')->nullable();
$table->unsignedTinyInteger('pr_line_2')->nullable();
$table->unsignedTinyInteger('pr_line_3')->nullable();
$table->unsignedTinyInteger('pr_line_4')->nullable();
$table->unsignedTinyInteger('pr_line_5')->nullable();
$table->unsignedTinyInteger('pr_line_6')->nullable();
$table->tinyInteger('pos')->unsigned()->nullable();
$table->boolean('active')->default(false);
$table->boolean('default')->default(false);
$table->timestamps();