| Zeile 11... |
Zeile 11... |
| 11 |
*
|
11 |
*
|
| 12 |
* @return void
|
12 |
* @return void
|
| 13 |
*/
|
13 |
*/
|
| 14 |
public function up(): void
|
14 |
public function up(): void
|
| 15 |
{
|
15 |
{
|
| 16 |
Schema::create( 'shops', function ( Blueprint $table )
|
16 |
if ( !Schema::hasTable( 'shops' ) )
|
| 17 |
{
|
17 |
{
|
| - |
|
18 |
Schema::create( 'shops', function ( Blueprint $table )
|
| - |
|
19 |
{
|
| 18 |
$table->id();
|
20 |
$table->id();
|
| 19 |
$table->string( 'name' )->default( '' );
|
21 |
$table->string( 'name' )->default( '' );
|
| 20 |
$table->string( "short", 4 )->default( '' );
|
22 |
$table->string( "short", 4 )->default( '' );
|
| 21 |
$table->string( "re_short", 4 )->default( '' );
|
23 |
$table->string( "re_short", 4 )->default( '' );
|
| 22 |
$table->unsignedTinyInteger( 'preisindex_ek' )->default( '1' );
|
24 |
$table->unsignedTinyInteger( 'preisindex_ek' )->default( '1' );
|
| 23 |
$table->string( 'importtool' )->default( '' );
|
25 |
$table->string( 'importtool' )->default( '' );
|
| 24 |
$table->unsignedTinyInteger( 'ebay' )->default( '0' );
|
26 |
$table->unsignedTinyInteger( 'ebay' )->default( '0' );
|
| 25 |
$table->unsignedTinyInteger( 'klonziel' )->default( '0' );
|
27 |
$table->unsignedTinyInteger( 'klonziel' )->default( '0' );
|
| 26 |
$table->string( 'konroot' )->default( '' );
|
28 |
$table->string( 'konroot' )->default( '' );
|
| 27 |
$table->unsignedTinyInteger( 'home' )->default( '0' );
|
29 |
$table->unsignedTinyInteger( 'home' )->default( '0' );
|
| 28 |
$table->unsignedTinyInteger( 'erfassung' )->default( '0' );
|
30 |
$table->unsignedTinyInteger( 'erfassung' )->default( '0' );
|
| 29 |
$table->string( 'database' )->default( '' );
|
31 |
$table->string( 'database' )->default( '' );
|
| 30 |
$table->string( 'order_db' )->default( '' );
|
32 |
$table->string( 'order_db' )->default( '' );
|
| 31 |
$table->string( 'mail_server' )->default( '' );
|
33 |
$table->string( 'mail_server' )->default( '' );
|
| 32 |
$table->string( 'mail_user' )->default( '' );
|
34 |
$table->string( 'mail_user' )->default( '' );
|
| 33 |
$table->string( 'mail_password' )->default( '' );
|
35 |
$table->string( 'mail_password' )->default( '' );
|
| 34 |
$table->string( 'domain' )->default( '' );
|
36 |
$table->string( 'domain' )->default( '' );
|
| 35 |
$table->unsignedTinyInteger( 'status' )->default( '0' );
|
37 |
$table->unsignedTinyInteger( 'status' )->default( '0' );
|
| 36 |
$table->unsignedInteger( 'rang' )->default( '0' );
|
38 |
$table->unsignedInteger( 'rang' )->default( '0' );
|
| 37 |
$table->text( 'such_algo' )->default( '' );
|
39 |
$table->text( 'such_algo' )->default( '' );
|
| 38 |
$table->boolean( "uses_dump" )->default( '1' );
|
40 |
$table->boolean( "uses_dump" )->default( '1' );
|
| 39 |
$table->boolean( "plesk" )->default( '1' );
|
41 |
$table->boolean( "plesk" )->default( '1' );
|
| 40 |
$table->string( 'user' )->default( '' );
|
42 |
$table->string( 'user' )->default( '' );
|
| 41 |
$table->string( 'server' )->default( '' );
|
43 |
$table->string( 'server' )->default( '' );
|
| 42 |
$table->string( 'plesk_key' )->default( '' );
|
44 |
$table->string( 'plesk_key' )->default( '' );
|
| 43 |
$table->timestamps();
|
45 |
$table->timestamps();
|
| - |
|
46 |
} );
|
| 44 |
} );
|
47 |
}
|
| 45 |
}
|
48 |
}
|
| Zeile 46... |
Zeile 49... |
| 46 |
|
49 |
|
| 47 |
/**
|
50 |
/**
|
| 48 |
* Reverse the migrations.
|
51 |
* Reverse the migrations.
|