Skip to content

Commit 2a16254

Browse files
committed
Merge branch 'hotfix-development'
2 parents 5f3cb53 + 89101e4 commit 2a16254

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## v0.3.1.22
4+
5+
- Use `nullableTimestamps` instead of `timestamps` in installer, to prevent conflict with MySQL modes 'NO_ZERO_IN_DATE' and 'NO_ZERO_DATE'.
6+
37
## v0.3.1.21
48

59
- Use Laravel's Schema interface to create tables and default rows, instead of constructing them with SQL

userfrosting/initialize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
'guest_theme' => 'default',
159159
'minify_css' => '0',
160160
'minify_js' => '0',
161-
'version' => '0.3.1.21',
161+
'version' => '0.3.1.22',
162162
'author' => 'Alex Weissman',
163163
'show_terms_on_register' => '1',
164164
'site_location' => 'The State of Indiana'

userfrosting/models/database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public static function install(){
258258
$table->boolean('flag_verified')->default(1)->comment("Set to ''1'' if the user has verified their account via email, ''0'' otherwise.");
259259
$table->boolean('flag_enabled')->default(1)->comment("Set to ''1'' if the user''s account is currently enabled, ''0'' otherwise. Disabled accounts cannot be logged in to, but they retain all of their data and settings.");
260260
$table->boolean('flag_password_reset')->default(0)->comment("Set to ''1'' if the user has an outstanding password reset request, ''0'' otherwise.");
261-
$table->timestamps();
261+
$table->nullableTimestamps();
262262
$table->string('password', 255);
263263
$table->engine = 'InnoDB';
264264
$table->collation = 'utf8_unicode_ci';

0 commit comments

Comments
 (0)