change accesses table access column to text type

This commit is contained in:
Leorne committed 2019-12-06 13:46:06 +03:00
1 parent 888080229a
commit 8c1c2cf5cd
2 files changed
+19 -1

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ class Accesses extends \yii\db\ActiveRecord
public function rules()
{
return [
[['name', 'access'], 'string', 'max' => 255],
[['name'], 'string', 'max' => 255],
[['access'], 'string'],
[['_projects'], 'safe'],
[['_users'], 'safe'],
];