MT#9177 Add bootstrap_uri and fix tables relations

changes/75/675/1
Irina Peshinskaya 11 years ago
parent b712efcdd4
commit 17c40c1241

@ -37,6 +37,8 @@ __PACKAGE__->add_columns(
extra => { list => ["http","redirect_panasonic","redirect_linksys"] },
is_nullable => 0,
},
"bootstrap_uri",
{ data_type => "varchar", is_nullable => 0, size => 255 },
);
__PACKAGE__->belongs_to(

@ -22,13 +22,6 @@ __PACKAGE__->add_columns(
{ data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
"parameter_value",
{ data_type => "varchar", size => 255, is_nullable => 0 },
"bootstrap_method",
{
data_type => "enum",
default_value => "http",
extra => { list => ["http","ztp_panasonic","ztp_linksys"] },
is_nullable => 0,
},
);
__PACKAGE__->belongs_to(

@ -36,7 +36,7 @@ __PACKAGE__->add_columns(
__PACKAGE__->has_many(
"autoprov_sync",
"NGCP::Schema::Result::autoprov_sync",
{ id => "parameter_id" },
{ "foreign.parameter_id" => "self.id" },
{
is_deferrable => 1,
join_type => "LEFT",

Loading…
Cancel
Save