diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-08-19 15:55:41 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-08-19 15:55:41 +0100 |
commit | 8dfdbf84b57d8bbc179dcb895d6eb08c61fdef59 (patch) | |
tree | 4c463f153d69290e4850cbb71c016066e5ed5879 /perllib/FixMyStreet/DB/Result/Alert.pm | |
parent | 0784bdae637e3d0ca20dc3d66ec50c5d68e489ec (diff) | |
parent | b812f8526525c0f38d72bdc469ddc08b376854d2 (diff) |
Merge branch 'bodies_str-factoring'
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Alert.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Alert.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Alert.pm b/perllib/FixMyStreet/DB/Result/Alert.pm index 21010064b..35cce8368 100644 --- a/perllib/FixMyStreet/DB/Result/Alert.pm +++ b/perllib/FixMyStreet/DB/Result/Alert.pm @@ -39,6 +39,7 @@ __PACKAGE__->add_columns( data_type => "timestamp", default_value => \"current_timestamp", is_nullable => 0, + original => { default_value => \"now()" }, }, "whendisabled", { data_type => "timestamp", is_nullable => 1 }, @@ -64,8 +65,8 @@ __PACKAGE__->belongs_to( ); -# Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-09-10 17:11:54 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d9yIFiTGtbtFaULXZNKstQ +# Created by DBIx::Class::Schema::Loader v0.07035 @ 2015-08-13 16:33:38 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5RNyB430T8PqtFlmGV/MUg # You can replace this text with custom code or comments, and it will be preserved on regeneration |