fix mistake in DBIx::Class schema

This commit is contained in:
Oliver Gorwits
2013-05-19 22:37:22 +01:00
parent 6a5af95836
commit bf78e82411
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ __PACKAGE__->add_columns(
original => { default_value => \"now()" },
},
"vlan",
{ data_type => "text", is_nullable => 1, default_value => '0' },
{ data_type => "text", is_nullable => 0, default_value => '0' },
);
__PACKAGE__->set_primary_key("mac", "switch", "port", "vlan");

View File

@@ -38,7 +38,7 @@ __PACKAGE__->add_columns(
original => { default_value => \"now()" },
},
"ssid",
{ data_type => "text", is_nullable => 1, default_value => '' },
{ data_type => "text", is_nullable => 0, default_value => '' },
);
__PACKAGE__->set_primary_key("mac", "ssid");