/
rustwizard
/
balda
Обзор
Документация
Войти
/
rustwizard
/
balda
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
migrations/001_initial.up.sql
24 строки
721 B
Rust Wizard
feat: persist game results and update player EXP on game over
28 апр 2026, 15:18
Верифицирован
28 апр 2026, 15:18
70ce58e
Код
Авторство
О чём код?
CREATE EXTENSION IF NOT EXISTS pgcrypto; create table if not exists users ( user_id bigserial constraint users_pk primary key, first_name text, last_name text, email text, hash_password text, confirmed boolean default false, api_key uuid default gen_random_uuid() not null, created_at timestamp with time zone default now() not null, updated_at timestamp with time zone default now() not null ); create unique index users_email_uindex on users (email); ---- create above / drop below ---- drop index if exists users_email_uindex; drop table if exists users;