Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Added SQL script to create table to hold Authentication data.
  • Loading branch information
shashank-ssriva authored Feb 22, 2017
1 parent d28864a commit ed9cbf1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gen_google_authentication_table.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
CREATE TABLE IF NOT EXISTS `users` (
`user_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`email` varchar(60) NOT NULL,
`password` varchar(60) NOT NULL,
`social_id` varchar(100) NOT NULL,
`picture` varchar(250) NOT NULL,
`created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`user_id`),
UNIQUE KEY `email` (`email`),
KEY `login` (`password`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=10 ;

0 comments on commit ed9cbf1

Please sign in to comment.