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

ambee/giterated

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

Add users table

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨9f36e3f

⁨migrations/20230829104151_create_users.sql⁩ - ⁨306⁩ 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 )
12
13 CREATE UNIQUE INDEX unique_username ON users (username);