#10 Promotion Modul, Kommentar 2

This commit is contained in:
Kevin Adametz 2021-11-09 18:40:18 +01:00
parent f0da981737
commit c9e1545693
128 changed files with 8194 additions and 637 deletions

View file

@ -65,6 +65,8 @@ class CreateUserAccountsTable extends Migration
$table->string('facebook_fanpage')->nullable();
$table->string('instagram')->nullable();
$table->text('about_you')->nullable();
$table->text('payment_data')->nullable();
$table->timestamp('data_protection')->nullable();

View file

@ -25,6 +25,8 @@ class CreateProductsTable extends Migration
$table->text('copy')->nullable();
$table->mediumText('trans_copy')->nullable();
$table->text('short_copy')->nullable();
$table->decimal('price', 8, 2)->nullable();
$table->decimal('price_ek', 8, 2)->nullable();
$table->decimal('tax', 5, 2)->nullable();
@ -61,6 +63,8 @@ class CreateProductsTable extends Migration
$table->tinyInteger('show_at')->unsigned()->nullable()->default(0);
$table->string('show_on')->nullable();
$table->tinyInteger('amount_commission')->unsigned()->nullable()->default(0);
$table->boolean('single_commission')->default(false);

View file

@ -18,6 +18,7 @@ class CreatePaymentMethodsTable extends Migration
$table->string('name')->index();
$table->string('short', 10);
$table->unsignedTinyInteger('show_at')->nullable()->default(0);
$table->string('show_on')->nullable();
$table->unsignedTinyInteger('pos')->nullable()->default(0);
$table->decimal('max_price', 8, 2)->nullable();

View file

@ -21,9 +21,15 @@ class CreatePromotionUsersTable extends Migration
$table->string('name', 255);
$table->text('description')->nullable();
$table->text('about_you')->nullable();
$table->string('internal_name', 255);
$table->text('internal_description')->nullable();
$table->string('url', 255)->nullable();
$table->boolean('pick_up')->default(true);
$table->text('user_address')->nullable();
$table->decimal('used_budget_total', 13, 2)->nullable();
$table->unsignedSmallInteger('sell_items_total')->nullable();