Removed null values for fields that are required.

This commit is contained in:
Alex Tselegidis 2016-07-24 10:48:38 +02:00
parent 30fa9876f2
commit 1f0c10f70a
3 changed files with 2 additions and 5 deletions

View file

@ -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'
]
];

View file

@ -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'
]
];

View file

@ -20,7 +20,6 @@ class Migration_Add_service_attendants_number extends CI_Migration {
'type' => 'INT',
'constraint' => '11',
'default' => '1',
'null' => true,
'after' => 'availabilities_type'
]
];