Run the migrations.
197747
public function up()
    {
        Schema::table('orders', function (Blueprint $table) {
        $table->string('total_items')->after('total_price');
        $table->decimal('shipping_cost', 10, 2)->after('total_price');
    });
    }
1131814
public function up()
    {

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

            $table->bigInteger('corporation_id');
            $table->bigInteger('contact_id');
            $table->float('standing');
            $table->enum('contact_type',
                ['character', 'corporation', 'alliance', 'faction']);
            $table->boolean('is_watched')->nullable();
            $table->bigInteger('label_id')->nullable();

            $table->primary(['corporation_id', 'contact_id']);
            $table->index('corporation_id');

            $table->timestamps();
        });
    }
323766
public function up()
    {
        Schema::table('users', function (Blueprint $table) {
            if (Schema::hasColumn('users', 'name'))
                $table->dropColumn('name');
            $table->integer('role_id')->unsigned()->nullable();
            $table->foreign('role_id')->references('id')->on('roles')->onDelete('cascade');
            $table->string('firstname')->default('');
            $table->string('lastname')->default('');
            $table->string('picture')->nullable();
        });
    }
277444
public function up()
    {
        Schema::create('users', function (Blueprint $table) {
            $table->engine = 'InnoDB';

            $table->increments('id');
            $table->string('username');
            $table->string('password');
            $table->rememberToken();
            $table->string('email');
            $table->string('api_key');
            $table->boolean('active')->default(1);
            $table->tinyInteger('level')->default(2);
            $table->timestamps();

            $table->index('remember_token');
            $table->index('active');
            $table->unique('username');
            $table->unique('api_key');
            $table->unique('email');
        });
    }
1055892
public function up()
	{
		Schema::create('media_category', function(Blueprint $table)
		{
			$table->increments('id');
			$table->string('directory', 125);
			$table->dateTime('posted')->default('0000-00-00 00:00:00');
			$table->timestamp('updated')->default(DB::raw('CURRENT_TIMESTAMP'));
			$table->boolean('system')->default(1);
		});
	}
540348
public function up()
    {
        Schema::table('assets', function (Blueprint $table) {
            $table->timestamp('published_at')->useCurrent();
            $table->index('published_at');
        });

        DB::statement('update assets set published_at = from_unixtime(created_at)');
    }
612786
public function up()
    {
        Schema::table('incidents', function (Blueprint $table) {
            $table->integer('user_id')->unsigned()->nullable()->default(null)->index()->after('id');
        });
    }
640200
public function up()
    {
        Schema::create($this->getLogTable(), function (Blueprint $table) {
            $table->engine="innoDB";
            $table->increments('id');
            $table->unsignedBigInteger('transaction_id'); 
            $table->string('result_code', 10)->nullable();
            $table->string('result_message', 255)->nullable();
            $table->timestamp('log_date')->nullable();

            $table
                ->foreign('transaction_id')
                ->references('id')
                ->on($this->getTable())
                ->onDelete('cascade');
        });
    }
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();
    }
250402
public function up()
    {
        Schema::create('menu__menus', function (Blueprint $table) {
            $table->increments('id');

            $table->string('name');
            $table->string('url')->nullable();

            $table->string('attribute_target')->nullable();
            $table->string('attribute_id')->nullable();
            $table->string('attribute_class')->nullable();

            $table->boolean('active')->default(false);
            $table->boolean('useSubject')->default(false);

            $table->integer('subject_id')->nullable()->index();
            $table->string('subject_type')->nullable()->index();

            NestedSet::columns($table);
            $table->timestamps();

            $table->engine = 'InnoDB';
        });
    }
206054
public function runMigration()
    {
        if ($this->confirm('Do you want to run all migration now?')) {
            $this->migrated = true;

            $this->console->call('migrate', [
                '--force' => $this->console->option('force'),
            ]);
        }
    }
198155
public function up() {
        Schema::create('languages', function (Blueprint $table) {
            $table->increments('id');
            $table->char('slug', 2)->unique();
            $table->string('title', 30);
            $table->tinyInteger('rank')->unsigned()->default(1);
            $table->boolean('active')->default(1);

            $table->index('active');
            $table->index('rank');
        });
    }
641492
public function up()
    {
        Schema::table('components', function (Blueprint $table) {
            $table->longText('meta')->nullable()->default(null)->after('enabled');
        });
    }
597584
public function up(): void
    {
        Schema::create(config('queue.connections.database.table'), function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('queue');
            $table->longText('payload');
            $table->tinyInteger('attempts')->unsigned();
            $table->integer('reserved_at')->unsigned()->nullable();
            $table->integer('available_at')->unsigned();
            $table->integer('created_at')->unsigned();

            // Indexes
            $table->index('queue');
        });
    }
626258
public function up()
    {
        $this->schema->create('users', function (Blueprint $table) {
            $table->increments('id');
            $table->string('name');
            $table->string('email')->unique();
            $table->string('password')->nullable();
            $table->rememberToken();
            $table->timestamps();
            $table->softDeletes();
        });
    }
1262943
def run_migrations():
    
    with engine.connect() as connection:
        context.configure(
            connection=connection,
            target_metadata=Model.metadata)

        with context.begin_transaction():
            context.run_migrations()