Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 613 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 613 Revision 1600
Zeile 17... Zeile 17...
17
            {
17
            {
18
                Schema::create( 'directories', function ( Blueprint $table )
18
                Schema::create( 'directories', function ( Blueprint $table )
19
                {
19
                {
20
                    $table->bigInteger( "id" )->autoIncrement();
20
                    $table->bigInteger( "id" )->autoIncrement();
21
                    $table->foreignId( "directory_id" )->unsigned( false )->nullable()->constrained()->cascadeOnUpdate()->nullOnDelete();
21
                    $table->foreignId( "directory_id" )->unsigned( false )->nullable()->constrained()->cascadeOnUpdate()->nullOnDelete();
-
 
22
                    $table->foreignId( "manufacturer_id" )->nullable()->constrained()->cascadeOnUpdate()->nullOnDelete();
22
                    $table->string( "name" )->default( "" );
23
                    $table->string( "name" )->default( "" );
23
                    $table->string( "slug" )->default( "" );
24
                    $table->string( "slug" )->default( "" );
24
                    $table->string( "kennung" )->default( '' );
25
                    $table->string( "kennung" )->default( '' );
25
                    $table->unsignedTinyInteger( 'articlemaster' )->default( '0' );
26
                    $table->unsignedTinyInteger( 'articlemaster' )->default( '0' );
26
                    $table->unsignedTinyInteger( 'status' )->default( '0' );
27
                    $table->unsignedTinyInteger( 'status' )->default( '0' );
27
                    $table->string( 'url' )->default( '' );
28
                    $table->string( 'url' )->default( '' );
28
                    $table->text( 'description' )->default( '' );
29
                    $table->text( 'description' )->default( '' );
-
 
30
                    $table->text( 'description2' )->default( '' );
29
                    $table->string( 'short_line_1' )->default( '' );
31
                    $table->string( 'short_line_1' )->default( '' );
30
                    $table->string( 'created_by' )->default( '' );
32
                    $table->string( 'created_by' )->default( '' );
31
                    $table->string( 'updated_by' )->default( '' );
33
                    $table->string( 'updated_by' )->default( '' );
32
                    $table->timestamps();
34
                    $table->timestamps();
33
                } );
35
                } );