JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Add docs

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨51aad53

⁨migrations/20230829104151_create_users.sql⁩ - ⁨377⁩ bytes
Raw
1 -- Add migration script here
2
3 CREATE TABLE IF NOT EXISTS users
4 (
5 username TEXT NOT NULL,
6 display_name TEXT,
7 image_url TEXT NOT NULL,
8 bio TEXT,
9 email TEXT,
10 password TEXT NOT NULL,
11 public_key TEXT NOT NULL,
12 enc_private_key TEXT NOT NULL
13 );
14
15 CREATE UNIQUE INDEX unique_username ON users (username);