Run the migrations.

@return  void
439111
public function up()
    {
    	Schema::create('SL_Databases', function(Blueprint $table)
		{
			$table->increments('DbID');
			$table->integer('DbUser')->unsigned()->nullable();
			$table->string('DbPrefix', 25)->nullable();
			$table->string('DbName')->nullable();
			$table->longText('DbDesc')->nullable();
			$table->longText('DbMission')->nullable();
			$table->integer('DbOpts')->default('1')->nullable();
			$table->integer('DbTables')->default('0')->nullable();
			$table->integer('DbFields')->default('0')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Tables', function(Blueprint $table)
		{
			$table->increments('TblID');
			$table->integer('TblDatabase')->unsigned()->nullable();
			$table->string('TblAbbr')->nullable();
			$table->string('TblName')->nullable();
			$table->string('TblEng')->nullable();
			$table->longText('TblDesc')->nullable();
			$table->longText('TblNotes')->nullable();
			$table->string('TblType', 25)->default('Data')->nullable();
			$table->string('TblGroup', 50)->nullable();
			$table->integer('TblOrd')->default('0')->nullable();
			$table->integer('TblOpts')->default('1')->nullable();
			$table->integer('TblExtend')->unsigned()->default('0')->nullable();
			$table->integer('TblNumFields')->default('0')->nullable();
			$table->integer('TblNumForeignKeys')->default('0')->nullable();
			$table->integer('TblNumForeignIn')->default('0')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Fields', function(Blueprint $table)
		{
			$table->increments('FldID');
			$table->integer('FldDatabase')->unsigned()->nullable();
			$table->integer('FldTable')->unsigned()->nullable();
			$table->integer('FldOrd')->default('0')->nullable();
			$table->string('FldSpecType', 10)->default('Unique')->nullable();
			$table->integer('FldSpecSource')->default('-3')->nullable();
			$table->string('FldName')->nullable();
			$table->string('FldEng')->nullable();
			$table->string('FldAlias')->nullable();
			$table->longText('FldDesc')->nullable();
			$table->longText('FldNotes')->nullable();
			$table->integer('FldForeignTable')->default('-3')->nullable();
			$table->string('FldForeignMin', 11)->default('1')->nullable();
			$table->string('FldForeignMax', 11)->default('1')->nullable();
			$table->string('FldForeign2Min', 11)->default('1')->nullable();
			$table->string('FldForeign2Max', 11)->default('1')->nullable();
			$table->longText('FldValues')->nullable();
			$table->string('FldDefault')->nullable();
			$table->boolean('FldIsIndex')->default('0')->nullable();
			$table->string('FldType', 25)->default('VARCHAR')->nullable();
			$table->string('FldDataType', 20)->default('Alphanumeric')->nullable();
			$table->integer('FldDataLength')->nullable();
			$table->integer('FldDataDecimals')->default('0')->nullable();
			$table->string('FldCharSupport')->default(',Letters,Numbers,Keyboard,Special,')->nullable();
			$table->string('FldInputMask')->nullable();
			$table->string('FldDisplayFormat')->nullable();
			$table->string('FldKeyType')->default(',Non,')->nullable();
			$table->string('FldKeyStruct', 10)->nullable();
			$table->string('FldEditRule', 10)->default('LateAllow')->nullable();
			$table->boolean('FldUnique')->default('0')->nullable();
			$table->boolean('FldNullSupport')->default('1')->nullable();
			$table->string('FldValuesEnteredBy', 10)->default('User')->nullable();
			$table->boolean('FldRequired')->default('0')->nullable();
			$table->integer('FldCompareSame')->default('1')->nullable();
			$table->integer('FldCompareOther')->default('1')->nullable();
			$table->integer('FldCompareValue')->default('1')->nullable();
			$table->integer('FldOperateSame')->default('1')->nullable();
			$table->integer('FldOperateOther')->default('1')->nullable();
			$table->integer('FldOperateValue')->default('1')->nullable();
			$table->integer('FldOpts')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Definitions', function(Blueprint $table)
		{
			$table->increments('DefID');
			$table->integer('DefDatabase')->unsigned()->nullable();
			$table->string('DefSet', 20)->default('Value Ranges')->nullable();
			$table->string('DefSubset', 50)->nullable();
			$table->integer('DefOrder')->default('0')->nullable();
			$table->boolean('DefIsActive')->default('1')->nullable();
			$table->string('DefValue')->nullable();
			$table->longText('DefDescription')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_BusRules', function(Blueprint $table)
		{
			$table->increments('RuleID');
			$table->integer('RuleDatabase')->unsigned()->nullable();
			$table->longText('RuleStatement')->nullable();
			$table->longText('RuleConstraint')->nullable();
			$table->string('RuleTables')->default(',')->nullable();
			$table->string('RuleFields')->default(',')->nullable();
			$table->boolean('RuleIsAppOrient')->default('1')->nullable();
			$table->boolean('RuleIsRelation')->default('1')->nullable();
			$table->string('RuleTestOn', 10)->default('Insert')->nullable();
			$table->integer('RulePhys')->default('1')->nullable();
			$table->integer('RuleLogic')->default('1')->nullable();
			$table->integer('RuleRel')->default('1')->nullable();
			$table->longText('RuleAction')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Tree', function(Blueprint $table)
		{
			$table->increments('TreeID');
			$table->integer('TreeDatabase')->unsigned()->nullable();
			$table->integer('TreeUser')->unsigned()->nullable();
			$table->string('TreeType', 30)->default('Primary Public')->nullable();
			$table->string('TreeName')->nullable();
			$table->longText('TreeDesc')->nullable();
			$table->string('TreeSlug')->nullable();
			$table->integer('TreeRoot')->unsigned()->nullable();
			$table->integer('TreeFirstPage')->unsigned()->nullable();
			$table->integer('TreeLastPage')->unsigned()->nullable();
			$table->integer('TreeCoreTable')->unsigned()->nullable();
			$table->integer('TreeOpts')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Node', function(Blueprint $table)
		{
			$table->increments('NodeID');
			$table->integer('NodeTree')->unsigned()->nullable();
			$table->integer('NodeParentID')->default('-3')->nullable();
			$table->integer('NodeParentOrder')->default('0')->nullable();
			$table->string('NodeType', 25)->nullable();
			$table->longText('NodePromptText')->nullable();
			$table->longText('NodePromptNotes')->nullable();
			$table->longText('NodePromptAfter')->nullable();
			$table->longText('NodeInternalNotes')->nullable();
			$table->string('NodeResponseSet', 50)->nullable();
			$table->string('NodeDefault')->nullable();
			$table->string('NodeDataBranch', 100)->nullable();
			$table->string('NodeDataStore', 100)->nullable();
			$table->string('NodeTextSuggest', 100)->nullable();
			$table->integer('NodeCharLimit')->default('0')->nullable();
			$table->integer('NodeLikes')->default('0')->nullable();
			$table->integer('NodeDislikes')->default('0')->nullable();
			$table->integer('NodeOpts')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_NodeResponses', function(Blueprint $table)
		{
			$table->increments('NodeResID');
			$table->integer('NodeResNode')->unsigned()->nullable();
			$table->integer('NodeResOrd')->default('0')->nullable();
			$table->longText('NodeResEng')->nullable();
			$table->string('NodeResValue')->nullable();
			$table->integer('NodeResShowKids')->default('0')->nullable();
			$table->integer('NodeResMutEx')->default('0')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Conditions', function(Blueprint $table)
		{
			$table->increments('CondID');
			$table->integer('CondDatabase')->unsigned()->nullable();
			$table->string('CondTag', 100)->nullable();
			$table->longText('CondDesc')->nullable();
			$table->string('CondOperator', 50)->default('{')->nullable();
			$table->string('CondOperDeet', 100)->nullable();
			$table->integer('CondField')->unsigned()->nullable();
			$table->integer('CondTable')->unsigned()->nullable();
			$table->integer('CondLoop')->unsigned()->nullable();
			$table->integer('CondOpts')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_ConditionsVals', function(Blueprint $table)
		{
			$table->increments('CondValID');
			$table->integer('CondValCondID')->unsigned()->nullable();
			$table->string('CondValValue')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_ConditionsNodes', function(Blueprint $table)
		{
			$table->increments('CondNodeID');
			$table->integer('CondNodeCondID')->unsigned()->nullable();
			$table->integer('CondNodeNodeID')->nullable();
			$table->integer('CondNodeLoopID')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_ConditionsArticles', function(Blueprint $table)
		{
			$table->increments('ArticleID');
			$table->integer('ArticleCondID')->unsigned()->nullable();
			$table->string('ArticleURL')->nullable();
			$table->string('ArticleTitle')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_DataLoop', function(Blueprint $table)
		{
			$table->increments('DataLoopID');
			$table->integer('DataLoopTree')->unsigned()->nullable();
			$table->integer('DataLoopRoot')->unsigned()->nullable();
			$table->string('DataLoopPlural', 50)->nullable();
			$table->string('DataLoopSingular', 50)->nullable();
			$table->string('DataLoopTable', 100)->nullable();
			$table->string('DataLoopSortFld', 100)->nullable();
			$table->string('DataLoopDoneFld', 100)->nullable();
			$table->integer('DataLoopMaxLimit')->default('0')->nullable();
			$table->integer('DataLoopWarnLimit')->default('0')->nullable();
			$table->integer('DataLoopMinLimit')->default('0')->nullable();
			$table->boolean('DataLoopIsStep')->default('0')->nullable();
			$table->boolean('DataLoopAutoGen')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_DataSubsets', function(Blueprint $table)
		{
			$table->increments('DataSubID');
			$table->integer('DataSubTree')->unsigned()->nullable();
			$table->string('DataSubTbl', 100)->nullable();
			$table->string('DataSubTblLnk', 100)->nullable();
			$table->string('DataSubSubTbl', 50)->nullable();
			$table->string('DataSubSubLnk', 100)->nullable();
			$table->boolean('DataSubAutoGen')->default('0')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_DataHelpers', function(Blueprint $table)
		{
			$table->increments('DataHelpID');
			$table->integer('DataHelpTree')->unsigned()->nullable();
			$table->string('DataHelpParentTable', 50)->nullable();
			$table->string('DataHelpTable', 50)->nullable();
			$table->string('DataHelpKeyField', 50)->nullable();
			$table->string('DataHelpValueField', 50)->nullable();
			$table->timestamps();
		});
		Schema::create('SL_DataLinks', function(Blueprint $table)
		{
			$table->increments('DataLinkID');
			$table->integer('DataLinkTree')->unsigned()->nullable();
			$table->integer('DataLinkTable')->unsigned()->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Images', function(Blueprint $table)
		{
			$table->increments('ImgID');
			$table->integer('ImgDatabaseID')->unsigned()->nullable();
			$table->integer('ImgUserID')->unsigned()->nullable();
			$table->string('ImgFileOrig')->nullable();
			$table->string('ImgFileLoc')->nullable();
			$table->string('ImgFullFilename')->nullable();
			$table->string('ImgTitle')->nullable();
			$table->string('ImgCredit')->nullable();
			$table->string('ImgCreditUrl')->nullable();
			$table->integer('ImgNodeID')->unsigned()->nullable();
			$table->string('ImgType', 10)->nullable();
			$table->integer('ImgFileSize')->nullable();
			$table->integer('ImgWidth')->nullable();
			$table->integer('ImgHeight')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_SearchRecDump', function(Blueprint $table)
		{
			$table->increments('SchRecDmpID');
			$table->integer('SchRecDmpTreeID')->unsigned()->nullable();
			$table->integer('SchRecDmpRecID')->nullable();
			$table->longText('SchRecDmpDump')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_DesignTweaks', function(Blueprint $table)
		{
			$table->increments('TweakID');
			$table->string('TweakVersionAB')->nullable();
			$table->integer('TweakSubmissionProgress')->unsigned()->nullable();
			$table->string('TweakIPaddy')->nullable();
			$table->string('TweakTreeVersion')->nullable();
			$table->string('TweakUniqueStr')->nullable();
			$table->integer('TweakUserID')->unsigned()->nullable();
			$table->string('TweakIsMobile')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Sess', function(Blueprint $table)
		{
			$table->increments('SessID');
			$table->integer('SessUserID')->unsigned()->nullable();
			$table->integer('SessTree')->unsigned()->nullable();
			$table->integer('SessCoreID')->unsigned()->nullable();
			$table->boolean('SessIsActive')->nullable();
			$table->integer('SessCurrNode')->unsigned()->nullable();
			$table->integer('SessLoopRootJustLeft')->unsigned()->nullable();
			$table->integer('SessAfterJumpTo')->unsigned()->nullable();
			$table->boolean('SessIsMobile')->nullable();
			$table->string('SessBrowser', 255)->nullable();
			$table->string('SessIP')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_SessLoops', function(Blueprint $table)
		{
			$table->increments('SessLoopID');
			$table->integer('SessLoopSessID')->unsigned()->nullable();
			$table->string('SessLoopName', 50)->nullable();
			$table->integer('SessLoopItemID')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_NodeSavesPage', function(Blueprint $table)
		{
			$table->increments('PageSaveID');
			$table->integer('PageSaveSession')->unsigned()->nullable();
			$table->integer('PageSaveNode')->unsigned()->nullable();
			$table->integer('PageSaveLoopItemID')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_NodeSaves', function(Blueprint $table)
		{
			$table->increments('NodeSaveID');
			$table->integer('NodeSaveSession')->unsigned()->nullable();
			$table->integer('NodeSaveLoopItemID')->nullable();
			$table->integer('NodeSaveNode')->unsigned()->nullable();
			$table->string('NodeSaveVersionAB')->nullable();
			$table->string('NodeSaveTblFld', 100)->nullable();
			$table->longText('NodeSaveNewVal')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_SessEmojis', function(Blueprint $table)
		{
			$table->increments('SessEmoID');
			$table->integer('SessEmoUserID')->unsigned()->nullable();
			$table->integer('SessEmoTreeID')->unsigned()->nullable();
			$table->integer('SessEmoRecID')->nullable();
			$table->integer('SessEmoDefID')->unsigned()->nullable();
			$table->timestamps();
		});
		Schema::create('SL_SessSite', function(Blueprint $table)
		{
			$table->increments('SiteSessID');
			$table->string('SiteSessIPaddy')->nullable();
			$table->longText('SiteSessUserID')->nullable();
			$table->boolean('SiteSessIsMobile')->nullable();
			$table->string('SiteSessBrowser', 255)->nullable();
			$table->integer('SiteSessZoomPref')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_SessPage', function(Blueprint $table)
		{
			$table->increments('SessPageID');
			$table->integer('SessPageSessID')->unsigned()->nullable();
			$table->string('SessPageURL')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Tokens', function(Blueprint $table)
		{
			$table->increments('TokID');
			$table->string('TokType', 20)->nullable();
			$table->integer('TokUserID')->unsigned()->nullable();
			$table->integer('TokTreeID')->unsigned()->nullable();
			$table->integer('TokCoreID')->nullable();
			$table->string('TokTokToken', 255)->nullable();
			$table->timestamps();
		});
		Schema::create('SL_UsersRoles', function(Blueprint $table)
		{
			$table->increments('RoleUserID');
			$table->integer('RoleUserUID')->unsigned()->nullable();
			$table->integer('RoleUserRID')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Contact', function(Blueprint $table)
		{
			$table->increments('ContID');
			$table->string('ContType')->nullable();
			$table->string('ContFlag')->default('Unread')->nullable();
			$table->string('ContEmail')->nullable();
			$table->string('ContSubject')->nullable();
			$table->longText('ContBody')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Emails', function(Blueprint $table)
		{
			$table->increments('EmailID');
			$table->integer('EmailTree')->unsigned()->nullable();
			$table->string('EmailType')->nullable();
			$table->string('EmailName')->nullable();
			$table->longText('EmailSubject')->nullable();
			$table->longText('EmailBody')->nullable();
			$table->integer('EmailOpts')->default('1')->nullable();
			$table->integer('EmailTotSent')->default('0')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Emailed', function(Blueprint $table)
		{
			$table->increments('EmailedID');
			$table->integer('EmailedTree')->unsigned()->nullable();
			$table->integer('EmailedRecID')->nullable();
			$table->integer('EmailedEmailID')->unsigned()->nullable();
			$table->string('EmailedTo')->nullable();
			$table->integer('EmailedToUser')->unsigned()->nullable();
			$table->integer('EmailedFromUser')->unsigned()->nullable();
			$table->string('EmailedSubject')->nullable();
			$table->longText('EmailedBody')->nullable();
			$table->integer('EmailedOpts')->default('1')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_UsersActivity', function(Blueprint $table)
		{
			$table->increments('UserActID');
			$table->integer('UserActUser')->unsigned()->nullable();
			$table->string('UserActCurrPage')->nullable();
			$table->longText('UserActVal')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_LogActions', function(Blueprint $table)
		{
			$table->increments('LogID');
			$table->integer('LogUser')->unsigned()->nullable();
			$table->integer('LogDatabase')->unsigned()->nullable();
			$table->integer('LogTable')->unsigned()->nullable();
			$table->integer('LogField')->unsigned()->nullable();
			$table->string('LogAction', 20)->nullable();
			$table->string('LogOldName')->nullable();
			$table->string('LogNewName')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Zips', function(Blueprint $table)
		{
			$table->increments('ZipID');
			$table->string('ZipZip', 10)->nullable();
			$table->string('ZipLat')->nullable();
			$table->string('ZipLong')->nullable();
			$table->string('ZipCity', 100)->nullable();
			$table->string('ZipState')->nullable();
			$table->string('ZipCounty')->nullable();
			$table->string('ZipCountry', 100)->nullable();
			$table->timestamps();
		});
		Schema::create('SL_AddyGeo', function(Blueprint $table)
		{
			$table->increments('AdyGeoID');
			$table->string('AdyGeoAddress')->nullable();
			$table->string('AdyGeoLat')->nullable();
			$table->string('AdyGeoLong')->nullable();
			$table->timestamps();
		});
		Schema::create('SL_Uploads', function(Blueprint $table)
		{
			$table->increments('UpID');
			$table->integer('UpTreeID')->nullable();
			$table->integer('UpCoreID')->nullable();
			$table->integer('UpType')->nullable();
			$table->string('UpPrivacy', 10)->nullable();
			$table->string('UpTitle')->nullable();
			$table->longText('UpDesc')->nullable();
			$table->string('UpUploadFile')->nullable();
			$table->string('UpStoredFile')->nullable();
			$table->string('UpVideoLink')->nullable();
			$table->integer('UpNodeID')->nullable();
			$table->integer('UpLinkFldID')->nullable();
			$table->integer('UpLinkRecID')->nullable();
			$table->timestamps();
		});
    }
946503
public function up()
	{
		Schema::create('tags', function($table)
		{
			$table->integer('post_id');
			$table->string('tag');
			$table->unique(array('post_id', 'tag'));
		});
	}
962537
public function up()
    {
        Schema::create('changes', function ($table) {
            $table->engine = 'InnoDB';
            $table->increments('id');

            $table->string('model');
            $table->string('key');
            $table->string('action');
            $table->string('title')->nullable();
            $table->longText('changed')->nullable();

            $table->integer('admin_id')->unsigned();
            $table->longText('meta')->nullable();
            $table->boolean('deleted')->nullable();
            $table->timestamps();

            $table->index(['model', 'key']);
            $table->index(['key', 'model']);
            $table->index(['action', 'created_at']);
            $table->index(['created_at', 'action']);
            $table->index(['deleted', 'created_at']);
            $table->foreign('admin_id')->references('id')->on('admins')->onUpdate('cascade')->onDelete('cascade');
        });
    }
57807
public function up()
    {
        Schema::table($this->getUserTableName(), function (Blueprint $table) {
            $table->boolean('verified')->default(false);
        });

    }
594197
public function up()
    {
        Schema::table('user_addresses', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
            $table->string('phone_work')->nullable();
            $table->string('phone_home')->nullable();
            $table->string('phone_mobile')->nullable();
            $table->text('other_informations')->nullable();

            DB::statement('ALTER TABLE `user_addresses` MODIFY `address2` VARCHAR(255) NULL;');
        });

        Schema::table('order_addresses', function (Blueprint $table) {
            $table->string('uid', 32)->unique();
            $table->string('phone_work')->nullable();
            $table->string('phone_home')->nullable();
            $table->string('phone_mobile')->nullable();
            $table->text('other_informations')->nullable();

            DB::statement('ALTER TABLE `user_addresses` MODIFY `address2` VARCHAR(255) NULL;');
        });

        Schema::table('products', function (Blueprint $table) {
            $table->softDeletes();
        });
    }
847470
public function up()
    {
        $this->createSchema(function(Blueprint $table) {
            $table->increments('id');
            $table->string('key')->index();
            $table->text('value');
        });
    }
1130679
public function up()
    {
        Schema::create('crud_notify', function ($table) {
            $table->increments('id');
            $table->string('message');
            $table->integer('target_user_id');
            $table->integer('ttl')->default(0);
            $table->tinyInteger('broadcast')->default(0);
            $table->tinyInteger('delivered')->default(0);
            $table->integer('created_by');
            $table->integer('created_at');
            $table->integer('updated_at');
            $table->integer('delivered_at');
        });
    }
735305
public function up()
    {
        Schema::create('content', function (Blueprint $table) {
            $table->increments('id');
            $table->integer('type_id')->unsigned()->index();
            $table->foreign('type_id')->references('id')->on('content_types')->onDelete('cascade');
            $table->string('slug');
            $table->string('title');
            $table->integer('author_id')->unsigned()->index()->default(1);
            $table->foreign('author_id')->references('id')->on('users')->onDelete('cascade');
            $table->string('language')->default(config('app.locale'));
            $table->integer('translation_id')->unsigned()->index()->nullable();
            $table->foreign('translation_id')->references('id')->on('content')->onDelete('cascade');
            $table->integer('parent_id')->unsigned()->index()->nullable();
            $table->foreign('parent_id')->references('id')->on('content')->onDelete('cascade');
            $table->integer('order')->unsigned()->default(0);
            $table->boolean('status')->default(1);
            $table->boolean('lock_delete')->default(0);
            $table->timestamps();
        });
    }
1164700
public function up()
    {
        Schema::create('did_tag', function (Blueprint $table) {
            $table->uuid('did_id')->index();
            $table->uuid('tag_id')->index();
            $table->timestamps();

            $table->foreign('did_id')->references('id')->on('dids');
            $table->foreign('tag_id')->references('id')->on('tags');
        });
    }
231519
public function up()
    {
        Schema::table('nodes', function (Blueprint $table) {
            $table->unique('id');
            $table->unique(['content_type', 'content_id']);

            $table->index('slug');
            $table->index('parent_id');
            $table->index('lft');
            $table->index('rgt');
            $table->index('active');
        });
    }
759267
public function up()
    {
        $this->schema->create('password_resets', function (Blueprint $table) {
            $table->string('email')->index();
            $table->string('token')->index();
            $table->timestamp('created_at')->nullable();
        });
    }
603486
public function up()
	{
		Schema::create('terms', function(Blueprint $table)
		{
			$table->bigInteger('id', true)->unsigned();
			$table->bigInteger('parent_id')->unsigned()->default(0)->index('parent_id');
			$table->string('title', 80)->default('');
			$table->string('slug', 80)->default('')->index('slug');
			$table->string('taxonomy', 32)->default('')->index('taxonomy');
			$table->smallInteger('order')->unsigned()->default(99)->index('order');
			$table->timestamps();
		});
	}
363552
public function up()
    {
        Schema::create('user_permissions', function (Blueprint $table) {
			$table->char("user_id", 32)->nullable();
			$table->char("permission_id", 32)->nullable();
            $table->timestamps();
        });
    }
678435
public function up()
    {
        $this->createSchema(function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('name')->index();
            $table->timestamp('created_at')->index();
            $table->timestamp('updated_at')->index();
        });
    }
804004
public function up()
    {

        Schema::table('group_role', function (Blueprint $table) {

            $table->boolean('not')->after('group_id')->default(false);
        });

        Schema::table('permission_role', function (Blueprint $table) {

            $table->boolean('not')->after('role_id')->default(false);
        });

        Schema::table('affiliation_user', function (Blueprint $table) {

            $table->boolean('not')->after('affiliation_id')->default(false);
        });

        Schema::table('affiliation_role', function (Blueprint $table) {

            $table->boolean('not')->after('affiliation_id')->default(false);
        });
    }
586824
public function up(): void
    {
        Schema::create('bans', function (Blueprint $table) {
            $table->increments('id');
            $table->morphs('bannable');
            $table->nullableMorphs('created_by');
            $table->text('comment')->nullable();
            $table->timestamp('expired_at')->nullable();
            $table->softDeletes();
            $table->timestamps();

            $table->index('expired_at');
        });
    }
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();
        });
    }