Removed status foreign key from achievement table
This commit is contained in:
parent
3885f8771b
commit
0dbb05ee8e
@ -20,14 +20,6 @@ class m210908_110644_create_achievement_table_and_link_table_to_user_card extend
|
||||
'description' => $this->text(),
|
||||
'status' => $this->integer()->defaultValue(1),
|
||||
]);
|
||||
$this->addForeignKey(
|
||||
'fk-achievement-status',
|
||||
'achievement',
|
||||
'status',
|
||||
'status',
|
||||
'id',
|
||||
'CASCADE'
|
||||
);
|
||||
$this->createTable('{{%achievement_user_card}}', [
|
||||
'id' => $this->primaryKey(),
|
||||
'user_card_id' => $this->integer(),
|
||||
|
Loading…
Reference in New Issue
Block a user