Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 476 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 476 Revision 513
Zeile 16... Zeile 16...
16
            if ( !Schema::hasTable( 'shippings' ) )
16
            if ( !Schema::hasTable( 'shippings' ) )
17
            {
17
            {
18
                Schema::create( 'shippings', function ( Blueprint $table )
18
                Schema::create( 'shippings', function ( Blueprint $table )
19
                {
19
                {
20
                    $table->id();
20
                    $table->id();
-
 
21
                    $table->unsignedInteger( 'rank' )->default( '0' );
-
 
22
                    $table->foreignId( 'shipping_group_id' )->nullable()->constrained()->cascadeOnUpdate()->nullOnDelete();
-
 
23
                    $table->string( 'name' )->default( '' );
-
 
24
                    $table->text( 'info_shop' )->default( '' );
-
 
25
                    $table->text( 'info_mail' )->default( '' );
-
 
26
                    $table->text( 'info_internal' )->default( '' );
-
 
27
                    $table->unsignedTinyInteger( 'island_shipping' )->default( '0' );
-
 
28
                    $table->text( 'additions' )->default( '' );
-
 
29
                    $table->unsignedInteger( 'status' )->default( '0' );
-
 
30
                    $table->float( 'price' )->default( '0' );
-
 
31
                    $table->float( 'calc_weight_from' )->default( '0' );
-
 
32
                    $table->float( 'calc_weight_to' )->default( '0' );
-
 
33
                    $table->float( 'calc_price_from' )->default( '0' );
-
 
34
                    $table->float( 'calc_price_to' )->default( '0' );
-
 
35
                    $table->unsignedTinyInteger( 'tax_rate' )->default( '98' );
-
 
36
                    $table->string( 'conditions' )->default( '' );
-
 
37
                    $table->string( 'created_by' )->default( '' );
-
 
38
                    $table->string( 'updated_by' )->default( '' );
21
                    $table->timestamps();
39
                    $table->timestamps();
22
                } );
40
                } );
23
            }
41
            }
24
        }
42
        }