Run the migrations.
358566
public function up()
    {
        Schema::create('menu', function (Blueprint $table) {
            $table->increments('id');
            $table->string('label');
            $table->string('title')->nullable();
            $table->string('slug');
            $table->string('robot')->nullable();
            $table->string('style')->nullable();
            $table->string('target')->nullable();
            $table->boolean('auth')->default(false);
            $table->string('lang');
            $table->integer('parent')->default(0);
            $table->integer('sort')->default(0);
            $table->string('type');
            $table->timestamps();
        });
    }
1364812
public function up()
    {
        Schema::create('languages', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name', 100);
            $table->string('flag', 100)->nullable();
            $table->string('abbr', 3);
            $table->tinyInteger('active')->unsigned()->default('1');
            $table->tinyInteger('default')->unsigned()->default('0');
            $table->timestamps();
            $table->softDeletes();
        });
    }
1130931
public function up()
    {
        Schema::create('connection_loader', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name');
            $table->string('driver');
            $table->string('host');
            $table->string('port');
            $table->string('database');
            $table->string('username');
            $table->string('password');
            $table->string('charset');
            $table->string('collation');
            $table->string('prefix');
            $table->boolean('strict')->default(false);
            $table->string('schema');
            $table->string('engine')->nullable();
            $table->boolean('status')->default(false);
            $table->timestamps();
        });
    }
611017
public function up()
    {
        Schema::table('page_versions', function (Blueprint $table) {
            $table->renameColumn('edited_time', 'created_at');
            $table->renameColumn('edited_by', 'created_by');
        });

        Schema::table('asset_versions', function (Blueprint $table) {
            $table->renameColumn('edited_at', 'created_at');
            $table->renameColumn('edited_by', 'created_by');
        });

        Schema::table('assets', function (Blueprint $table) {
            $table->renameColumn('uploaded_time', 'created_at');
            $table->renameColumn('uploaded_by', 'created_by');
        });

        Schema::table('pages', function (Blueprint $table) {
            $table->renameColumn('created_time', 'created_at');
        });
    }
1023801
public function up()
    {
        Schema::table($this->getTableName(), function (Blueprint $table) {
            $table->dropColumn('reserved');
            $table->index(['queue', 'reserved_at']);
        });

        Schema::table($this->getFailedTableName(), function (Blueprint $table) {
            $table->longText('exception')->nullable()->after('payload');
        });
    }
641492
public function up()
    {
        Schema::table('components', function (Blueprint $table) {
            $table->longText('meta')->nullable()->default(null)->after('enabled');
        });
    }
6355
public function up()
    {
        Schema::create('asset_downloads', function (Blueprint $table) {
            $table->bigInteger('id', true)->unsigned();
            $table->integer('asset_id')->unsigned()->index('asset_downloads_asset_id');
            $table->integer('time')->unsigned()->nullable();
            $table->integer('ip')->nullable();
            $table->index(['ip', 'asset_id', 'time'], 'asset_downloads_ip_asset_id_time');
        });
    }
254374
public function up()
    {
        Schema::create('media', function (Blueprint $table) {
            $table->increments('id');
            $table->morphs('model');
            $table->string('collection_name');
            $table->string('name');
            $table->string('file_name');
            $table->string('mime_type')->nullable();
            $table->string('disk');
            $table->unsignedInteger('size');
            $table->json('manipulations');
            $table->json('custom_properties');
            $table->unsignedInteger('order_column')->nullable();
            $table->nullableTimestamps();
        });
    }
691651
public function up()
    {
        Schema::create('roles', function (Blueprint $table) {
            $table->smallInteger('id', true)->unsigned();
            $table->string('name', 30)->unique();
            $table->boolean('tree')->default(false);
            $table->index('tree');
        });
    }
877007
public function up()
    {
        Schema::create('config_categories', function (Blueprint $table) {
            $table->increments('id');
            $table->unsignedInteger('parent_id')->nullable();
            $table->unsignedInteger('package_id');
            $table->string('key')->unique();
            $table->timestamps();

            $table->foreign('package_id')->references('id')->on('packages');
            $table->foreign('parent_id')->references('id')->on('config_categories');
        });

        Schema::create('configs', function (Blueprint $table) {
            $table->increments('id');
            $table->unsignedInteger('config_category_id');
            $table->string('key');
            $table->string('value');
            $table->timestamps();

            $table->foreign('config_category_id')->references('id')->on('config_categories');
        });

        $this->config = new Config();
        $this->categories();
    }
1205771
public function up()
    {
        Schema::table('hc_resource_grab_property', function (Blueprint $table) {
            $table->string('width')->default('0');
            $table->string('height')->default('0');
            $table->string('x')->change();
            $table->string('y')->change();
        });
    }
1262943
def run_migrations():
    
    with engine.connect() as connection:
        context.configure(
            connection=connection,
            target_metadata=Model.metadata)

        with context.begin_transaction():
            context.run_migrations()
400777
public function up()
    {
        Schema::table('script_config', function (Blueprint $t){
            $t->boolean('queued')->default(0)->after('service_id');
            $t->mediumText('content')->nullable()->change();
        });
        Schema::table('event_script', function (Blueprint $t){
            $t->mediumText('content')->nullable()->change();
        });
    }
769996
public function up()
    {
        Schema::create('authentication_log', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->morphs('authenticatable');
            $table->string('ip_address', 45)->nullable();
            $table->text('user_agent')->nullable();
            $table->timestamp('login_at')->nullable();
            $table->timestamp('logout_at')->nullable();
        });
    }
1326380
public function up()
    {
        Schema::create('jobs', function (Blueprint $table) {
            $table->engine = 'InnoDB';

            $table->bigIncrements('id');
            $table->string('queue');
            $table->text('payload');
            $table->tinyInteger('attempts')->unsigned();
            $table->tinyInteger('reserved')->unsigned();
            $table->unsignedInteger('reserved_at')->nullable();
            $table->unsignedInteger('available_at');
            $table->unsignedInteger('created_at');
        });
    }
1049759
public function up()
    {

        Schema::create('users', function (Blueprint $table) {

            $table->bigInteger('id')->primary();
            $table->integer('group_id');
            $table->string('name')->unique();
            $table->string('email')->unique()->nullable();
            $table->boolean('active')->default(true);
            $table->string('character_owner_hash');
            $table->dateTime('last_login')->nullable();
            $table->string('last_login_source')->nullable();
            $table->rememberToken();

            $table->index('group_id');

            $table->timestamps();
        });
    }
1066193
public function up()
    {
        $connection = config('admin.database.connection') ?: config('database.default');

        $table = config('admin.extensions.reporter.table', 'laravel_exceptions');

        Schema::connection($connection)->create($table, function (Blueprint $table) {
            $table->increments('id');
            $table->string('type');
            $table->string('code');
            $table->string('message');
            $table->string('file');
            $table->integer('line');
            $table->text('trace');
            $table->string('method');
            $table->string('path');
            $table->text('query');
            $table->text('body');
            $table->text('cookies');
            $table->text('headers');
            $table->string('ip');
            $table->timestamps();
        });
    }