Bug 16573 - Update Schema

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2016-09-06 09:37:14 +00:00
parent c2645c0ef8
commit 514282d04c
2 changed files with 7 additions and 9 deletions

View file

@ -284,9 +284,9 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-28 16:26:37 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/3xm7W/T/nWlYVlokMTgjQ # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HkvNR2YHTkqN2PnQk5XGAA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom code or comments, and it will be preserved on regeneration
1; 1;

View file

@ -63,9 +63,8 @@ __PACKAGE__->table("virtualshelves");
=head2 created_on =head2 created_on
data_type: 'timestamp' data_type: 'datetime'
datetime_undef_if_invalid: 1 datetime_undef_if_invalid: 1
default_value: '0000-00-00 00:00:00'
is_nullable: 0 is_nullable: 0
=head2 allow_add =head2 allow_add
@ -113,9 +112,8 @@ __PACKAGE__->add_columns(
}, },
"created_on", "created_on",
{ {
data_type => "timestamp", data_type => "datetime",
datetime_undef_if_invalid => 1, datetime_undef_if_invalid => 1,
default_value => "0000-00-00 00:00:00",
is_nullable => 0, is_nullable => 0,
}, },
"allow_add", "allow_add",
@ -191,8 +189,8 @@ __PACKAGE__->has_many(
); );
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-11-05 10:39:28 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:37
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O3y89+0IUoePtcIHAqR+oA # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wfAdz7LrmH49vdJ3f5rsmA
# You can replace this text with custom content, and it will be preserved on regeneration # You can replace this text with custom content, and it will be preserved on regeneration