From c00268913ca3cba2de9c03ef0791419dde9329ba Mon Sep 17 00:00:00 2001 From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab> Date: Mon, 8 Sep 2014 11:52:03 +0000 Subject: [PATCH] Modif structure base git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@3 047e039d-479c-447e-8a29-aa6bf4a09bab --- lib/IdPAccountManager/Data/Testaccount.pm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/IdPAccountManager/Data/Testaccount.pm b/lib/IdPAccountManager/Data/Testaccount.pm index c651422..fa1613a 100644 --- a/lib/IdPAccountManager/Data/Testaccount.pm +++ b/lib/IdPAccountManager/Data/Testaccount.pm @@ -8,16 +8,15 @@ __PACKAGE__->meta->setup( table => 'testaccounts', columns => [ - id => { type => 'bigserial', not_null => 1 }, - user_id => { type => 'varchar', length => 50, not_null => 1 }, - user_password => { type => 'varchar', length => 50, not_null => 1 }, - creation_date => { type => 'integer' }, - expiration_date => { type => 'integer' }, + id => { type => 'bigserial', not_null => 1 }, + user_password => { type => 'varchar', length => 50, not_null => 1 }, + creation_date => { type => 'integer' }, + expiration_date => { type => 'integer' }, + account_profile => { type => 'varchar', length => 100, not_null => 1 }, + relying_party_entityid => { type => 'varchar', length => 250, not_null => 1 }, ], primary_key_columns => [ 'id' ], - - unique_key => [ 'user_id' ], ); 1; -- GitLab