db->schema->createColumnSchemaBuilder( $identity_id_schema->dbType, $identity_id_schema->size ); $this->createTable(Subject::tableName(), [ 'id' => $this->primaryKey(), 'identity_id' => $identity_id_builder->notNull(), 'distinguished_name' => $this->string()->notNull()->unique(), ]); } public function safeDown() { $this->dropTable(Subject::tableName()); } }