Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 583 Revision 593
Zeile 9... Zeile 9...
9
        /**
9
        /**
10
         * Run the migrations.
10
         * Run the migrations.
11
         *
11
         *
12
         * @return void
12
         * @return void
13
         */
13
         */
14
        public function up()
14
        public function up(): void
15
        {
15
        {
16
            Schema::create( 'manufacturers', function ( Blueprint $table )
16
            Schema::create( 'manufacturers', function ( Blueprint $table )
17
            {
17
            {
18
                $table->id();
18
                $table->id();
19
                $table->string( 'name' )->default( '' );
19
                $table->string( 'name' )->default( '' );
Zeile 36... Zeile 36...
36
        /**
36
        /**
37
         * Reverse the migrations.
37
         * Reverse the migrations.
38
         *
38
         *
39
         * @return void
39
         * @return void
40
         */
40
         */
41
        public function down()
41
        public function down(): void
42
        {
42
        {
43
            Schema::dropIfExists( 'manufacturers' );
43
            Schema::dropIfExists( 'manufacturers' );
44
        }
44
        }
45
    };
45
    };