Created
May 24, 2012 02:29
-
-
Save pedroelsner/2779087 to your computer and use it in GitHub Desktop.
(SQL) Tabela Users - CakePHP 1.3 + AuthComponent
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 users ( | |
id INT UNSIGNED NOT NULL AUTO_INCREMENT, | |
name VARCHAR(200) NOT NULL, | |
username VARCHAR(20) NOT NULL, | |
password VARCHAR(100) NOT NULL, | |
created DATETIME NULL, | |
modified DATETIME NULL, | |
active TINYINT(1) NOT NULL DEFAULT 1, | |
PRIMARY KEY(id), | |
UNIQUE(username) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment