Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 513 Revision 577
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
            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
                {
Zeile 44... Zeile 44...
44
        /**
44
        /**
45
         * Reverse the migrations.
45
         * Reverse the migrations.
46
         *
46
         *
47
         * @return void
47
         * @return void
48
         */
48
         */
49
        public function down()
49
        public function down(): void
50
        {
50
        {
51
            Schema::dropIfExists( 'shippings' );
51
            Schema::dropIfExists( 'shippings' );
52
        }
52
        }
53
    };
53
    };