bigInteger('id'); $table->integer('site_id'); $table->bigInteger('account_id')->default(0); $table->bigInteger('date_orig')->nullable(); $table->boolean('active')->nullable(); $table->text('sign_pk', 65535); $table->text('sign_cert', 65535); $table->bigInteger('parent_ssl_ca_id')->nullable(); $table->primary(['id','site_id','account_id']); $table->index(['parent_ssl_ca_id','site_id'], 'fk_sca_idx'); $table->index(['account_id','site_id'], 'fk_sca_acc_idx'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::drop('ab_ssl_ca'); } }