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' => [ 'calendar_view' => [
'type' => 'VARCHAR', 'type' => 'VARCHAR',
'constraint' => '32', 'constraint' => '32',
'default' => 'default', 'default' => 'default'
'null' => true
] ]
]; ];

View file

@ -19,8 +19,7 @@ class Migration_Add_service_availabilities_type extends CI_Migration {
'availabilities_type' => [ 'availabilities_type' => [
'type' => 'VARCHAR', 'type' => 'VARCHAR',
'constraint' => '32', 'constraint' => '32',
'default' => 'flexible', 'default' => 'flexible',
'null' => true,
'after' => 'description' 'after' => 'description'
] ]
]; ];

View file

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