comments entity

This commit is contained in:
2023-05-17 01:14:54 +03:00
parent b32b35540b
commit 4ae43ff2da
6 changed files with 135 additions and 6 deletions

View File

@ -20,7 +20,7 @@ class m230511_205501_create_comment_table extends Migration
'parent_id' => $this->integer(11),
'entity_type' => $this->integer(2),
'entity_id' => $this->integer(11),
'status' => $this->integer(1),
'status' => $this->integer(1)->defaultValue(1),
'text' => $this->text()
]);
}