astral-api/Astral.DAL/Migrations/2024-12-14.02-userLocker.sql

8 lines
265 B
MySQL
Raw Permalink Normal View History

2024-12-15 17:06:14 +01:00
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
);