Making the contacts table name all uppercase because the name is uppercase when HRD Logbook creates it. Also removing lotw_user_name and lotw_user_password from the users table, because we add it in later migrations via the migration scripts.

这个提交包含在:
Corby Krick 2013-04-21 10:32:09 -07:00
父节点 bd39832843
当前提交 484fea42e7

查看文件

@ -3563,10 +3563,10 @@ CREATE TABLE IF NOT EXISTS `notes` (
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
-- Table structure for table `table_hrd_contacts_v01` -- Table structure for table `TABLE_HRD_CONTACTS_V01`
-- --
CREATE TABLE IF NOT EXISTS `table_hrd_contacts_v01` ( CREATE TABLE IF NOT EXISTS `TABLE_HRD_CONTACTS_V01` (
`COL_PRIMARY_KEY` int(11) NOT NULL AUTO_INCREMENT, `COL_PRIMARY_KEY` int(11) NOT NULL AUTO_INCREMENT,
`COL_ADDRESS` varchar(255) DEFAULT NULL, `COL_ADDRESS` varchar(255) DEFAULT NULL,
`COL_AGE` int(11) DEFAULT NULL, `COL_AGE` int(11) DEFAULT NULL,
@ -3815,8 +3815,6 @@ CREATE TABLE IF NOT EXISTS `users` (
`user_locator` varchar(255) NOT NULL, `user_locator` varchar(255) NOT NULL,
`user_firstname` varchar(255) NOT NULL, `user_firstname` varchar(255) NOT NULL,
`user_lastname` varchar(255) NOT NULL, `user_lastname` varchar(255) NOT NULL,
`user_lotw_name` varchar(32) NULL COMMENT 'LoTW Username',
`user_lotw_password` varchar(64) NULL COMMENT 'LoTW Password',
PRIMARY KEY (`user_id`), PRIMARY KEY (`user_id`),
UNIQUE KEY `user_name` (`user_name`), UNIQUE KEY `user_name` (`user_name`),
UNIQUE KEY `user_email` (`user_email`) UNIQUE KEY `user_email` (`user_email`)