File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## v0.3.1.23
4+
5+ - Also fix the ` occurred_at ` timestamp in the ` user_event ` table to allow null, for newer versions of MySQL that don't allow a zero date (see #605 ).
6+
37## v0.3.1.22
48
59- Use ` nullableTimestamps ` instead of ` timestamps ` in installer, to prevent conflict with MySQL modes 'NO_ZERO_IN_DATE' and 'NO_ZERO_DATE'.
Original file line number Diff line number Diff line change 158158 'guest_theme ' => 'default ' ,
159159 'minify_css ' => '0 ' ,
160160 'minify_js ' => '0 ' ,
161- 'version ' => '0.3.1.22 ' ,
161+ 'version ' => '0.3.1.23 ' ,
162162 'author ' => 'Alex Weissman ' ,
163163 'show_terms_on_register ' => '1 ' ,
164164 'site_location ' => 'The State of Indiana '
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ public static function install(){
274274 $ table ->increments ('id ' );
275275 $ table ->integer ('user_id ' )->unsigned ();
276276 $ table ->string ('event_type ' , 255 )->comment ('An identifier used to track the type of event. ' );
277- $ table ->timestamp ('occurred_at ' );
277+ $ table ->timestamp ('occurred_at ' )-> nullable () ;
278278 $ table ->text ('description ' );
279279 $ table ->engine = 'InnoDB ' ;
280280 $ table ->collation = 'utf8_unicode_ci ' ;
You can’t perform that action at this time.
0 commit comments