mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-02-10 15:38:07 +00:00
commit
dc59d210c5
|
@ -61,7 +61,8 @@ You will next need to setup the following 5 tables:
|
|||
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
#### Tokens
|
||||
CREATE TABLE tokens ( id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
CREATE TABLE tokens (
|
||||
id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
|
||||
code VARCHAR(50) NOT NULL,
|
||||
used BOOL,
|
||||
timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||
|
|
Loading…
Reference in a new issue