2020_08_05_104826_update_key_migration.php 733 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class UpdateKeyMigration extends Migration
{
    /**
     * Run the migrations.
     */
    public function up()
    {
Bagus Pambudi committed
14 15 16
        Schema::table('swp_posts', function (Blueprint $table) {
            $table->string('keys')->nullable();
        });
17

Bagus Pambudi committed
18 19 20
        Schema::table('swp_pages', function (Blueprint $table) {
            $table->string('keys')->nullable();
        });
21

Bagus Pambudi committed
22 23 24
        Schema::table('swp_informations', function (Blueprint $table) {
            $table->string('keys')->nullable();
        });
25 26 27 28 29 30 31 32 33
    }

    /**
     * Reverse the migrations.
     */
    public function down()
    {
    }
}