11 lines
310 B
MySQL
11 lines
310 B
MySQL
|
CREATE TABLE users (
|
||
|
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||
|
username VARCHAR(255) NOT NULL,
|
||
|
password VARCHAR(255) NOT NULL,
|
||
|
|
||
|
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||
|
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||
|
|
||
|
PRIMARY KEY(`id`)
|
||
|
);
|