Skip to content
Snippets Groups Projects
Commit c624d473 authored by renater.salaun's avatar renater.salaun
Browse files

update SQL DB creation script

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@51 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 9ee05fc0
No related branches found
No related tags found
No related merge requests found
## Test IdP Account Manager DB creation script
--
-- Database: `idp_account_manager`
--
-- --------------------------------------------------------
CREATE TABLE `authenticationtokens` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`token` varchar(50) NOT NULL,
`email_address` varchar(200) NOT NULL,
`sp_entityid` varchar(200) NOT NULL,
`creation_date` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `token_2` (`token`),
KEY `token` (`token`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `serviceproviders` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`entityid` varchar(200) NOT NULL,
`displayname` varchar(500) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `testaccounts` (
`id` bigint(20) NOT NULL auto_increment,
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_password_hash` varchar(50) NOT NULL,
`creation_date` int default NULL,
`expiration_date` int default NULL,
`creation_date` int(11) DEFAULT NULL,
`expiration_date` int(11) DEFAULT NULL,
`account_profile` varchar(100) NOT NULL,
`sp_entityid` varchar(250) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment