Created
July 28, 2014 08:36
-
-
Save anytizer/5cdc4d0d123f888f1dcb to your computer and use it in GitHub Desktop.
User login history
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `login_histories` ( | |
`history_id` INT(10) NOT NULL AUTO_INCREMENT, | |
`user_id` INT(10) NOT NULL DEFAULT '0', | |
`loged_on` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, | |
`timezone_offset` TIME, | |
`ip_isp` VARCHAR(255) NOT NULL DEFAULT '', | |
`ip_address` VARCHAR(255) NOT NULL DEFAULT '', | |
`ip_country` VARCHAR(255) NOT NULL DEFAULT '', | |
`ip_city` VARCHAR(255) NOT NULL DEFAULT '', | |
`client_browser` VARCHAR(255) NOT NULL DEFAULT '', | |
PRIMARY KEY (`track_id`) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment