diff --git a/src/application/migrations/006_add_calendar_view_setting.php b/src/application/migrations/006_add_calendar_view_setting.php index b6739983..f7383fc1 100644 --- a/src/application/migrations/006_add_calendar_view_setting.php +++ b/src/application/migrations/006_add_calendar_view_setting.php @@ -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' ] ]; diff --git a/src/application/migrations/007_add_service_availabilities_type.php b/src/application/migrations/007_add_service_availabilities_type.php index 48c0b2a5..44809d71 100644 --- a/src/application/migrations/007_add_service_availabilities_type.php +++ b/src/application/migrations/007_add_service_availabilities_type.php @@ -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' ] ]; diff --git a/src/application/migrations/008_add_service_attendants_number.php b/src/application/migrations/008_add_service_attendants_number.php index 323f32f4..6739e8ce 100644 --- a/src/application/migrations/008_add_service_attendants_number.php +++ b/src/application/migrations/008_add_service_attendants_number.php @@ -20,7 +20,6 @@ class Migration_Add_service_attendants_number extends CI_Migration { 'type' => 'INT', 'constraint' => '11', 'default' => '1', - 'null' => true, 'after' => 'availabilities_type' ] ];