9 lines
No EOL
288 B
SQL
9 lines
No EOL
288 B
SQL
-- 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'); |