Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CreateAdminSettingsTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('admin_settings', function (Blueprint $table) { |
||
17 | $table->id(); |
||
18 | $table->string('shop_name')->default('MongiCommerce'); |
||
19 | $table->string('iban')->default('DE79100110012626219557'); |
||
20 | $table->string('email')->default('[email protected]'); |
||
21 | $table->string('minimum_shop')->default('50'); |
||
22 | $table->string('stripe_api_key')->default('pk_test_gm6oybWPRbK7A3btf0CgwmRv'); |
||
23 | $table->string('stripe_api_secret')->default('sk_test_F6whJE7SznVkEI0aPxeo97b3'); |
||
24 | $table->string('share_capital')->default('10000'); |
||
25 | $table->string('address')->default('Via monsignor Laera, Acquaviva delle fonti, 214, Italia'); |
||
26 | $table->string('currency')->default('€'); |
||
27 | $table->string('telephone')->default('3240537258'); |
||
28 | $table->string('claim_email')->default('[email protected]'); |
||
29 | $table->string('piva')->default('12345678901'); |
||
30 | $table->timestamps(); |
||
31 | }); |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * Reverse the migrations. |
||
36 | * |
||
37 | * @return void |
||
38 | */ |
||
39 | public function down() |
||
42 | } |
||
43 | } |
||
44 |