8 lines
265 B
MySQL
8 lines
265 B
MySQL
|
CREATE TABLE userLocker
|
||
|
(
|
||
|
id UUID UNIQUE PRIMARY KEY REFERENCES users (id) ON DELETE CASCADE,
|
||
|
createdAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||
|
updatedAt TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||
|
contents JSON DEFAULT NULL
|
||
|
);
|