-- Migration number: 0001 	 2024-11-19T11:13:32.513Z
CREATE TABLE user (
    `id` VARCHAR(32) NOT NULL PRIMARY KEY,
    `name` VARCHAR(32) NOT NULL,
    `avatar_hash` VARCHAR(32) NOT NULL
);

CREATE TABLE session (
    `id` TEXT NOT NULL PRIMARY KEY,
    `user_id` VARCHAR(32) NOT NULL REFERENCES user(id),
    `expires_at` INTEGER NOT NULL
);