chore: sync
This commit is contained in:
@@ -6,9 +6,14 @@ CREATE TABLE IF NOT EXISTS users (
|
||||
race_key TEXT NOT NULL DEFAULT 'human',
|
||||
title TEXT NOT NULL DEFAULT '',
|
||||
avatar_key TEXT NOT NULL DEFAULT 'default',
|
||||
is_active BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
activation_token TEXT,
|
||||
email_verified_at TIMESTAMP NULL,
|
||||
created_at TIMESTAMP NOT NULL DEFAULT NOW()
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX IF NOT EXISTS users_activation_token_idx ON users (activation_token);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS planets (
|
||||
id SERIAL PRIMARY KEY,
|
||||
user_id INT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user