7 lines
265 B
SQL
7 lines
265 B
SQL
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
|
|
);
|