forked from mirrors/easyappointments
Removed null values for fields that are required.
This commit is contained in:
parent
30fa9876f2
commit
1f0c10f70a
3 changed files with 2 additions and 5 deletions
|
@ -19,8 +19,7 @@ class Migration_Add_calendar_view_setting extends CI_Migration {
|
|||
'calendar_view' => [
|
||||
'type' => 'VARCHAR',
|
||||
'constraint' => '32',
|
||||
'default' => 'default',
|
||||
'null' => true
|
||||
'default' => 'default'
|
||||
]
|
||||
];
|
||||
|
||||
|
|
|
@ -19,8 +19,7 @@ class Migration_Add_service_availabilities_type extends CI_Migration {
|
|||
'availabilities_type' => [
|
||||
'type' => 'VARCHAR',
|
||||
'constraint' => '32',
|
||||
'default' => 'flexible',
|
||||
'null' => true,
|
||||
'default' => 'flexible',
|
||||
'after' => 'description'
|
||||
]
|
||||
];
|
||||
|
|
|
@ -20,7 +20,6 @@ class Migration_Add_service_attendants_number extends CI_Migration {
|
|||
'type' => 'INT',
|
||||
'constraint' => '11',
|
||||
'default' => '1',
|
||||
'null' => true,
|
||||
'after' => 'availabilities_type'
|
||||
]
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue