9 lines
288 B
MySQL
9 lines
288 B
MySQL
|
-- Your SQL goes here
|
||
|
CREATE TABLE IF NOT EXISTS users (
|
||
|
id UUID DEFAULT gen_random_uuid() PRIMARY KEY,
|
||
|
discord_id VARCHAR(255) NOT NULL,
|
||
|
created_at TIMESTAMP DEFAULT NOW() NOT NULL,
|
||
|
updated_at TIMESTAMP DEFAULT NOW() NOT NULL
|
||
|
);
|
||
|
|
||
|
SELECT diesel_manage_updated_at('users');
|