refactor: updated profiles
This commit is contained in:
@@ -76,11 +76,11 @@ CREATE TABLE IF NOT EXISTS "profiles" (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
user_id BIGINT UNIQUE NOT NULL REFERENCES users(id) ON DELETE CASCADE,
|
||||
name VARCHAR(75) NOT NULL,
|
||||
bio VARCHAR(512),
|
||||
avatar_url VARCHAR(255),
|
||||
bio VARCHAR(512) NOT NULL DEFAULT '',
|
||||
avatar_url VARCHAR(255) NOT NULL DEFAULT '',
|
||||
birthday TIMESTAMP,
|
||||
color VARCHAR(7),
|
||||
color_grad VARCHAR(7)
|
||||
color VARCHAR(7) NOT NULL DEFAULT '#254333',
|
||||
color_grad VARCHAR(7) NOT NULL DEFAULT '#691E4D'
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "profile_settings" (
|
||||
|
||||
Reference in New Issue
Block a user