Files
OHTU-German-learning-website/data/migrations/00002_add_users_table.sql
T
84da650a8f Emil/db migrations (#58)
* Add users table migration

* Add users table migration and update schema

* Add users table migration

* updated schema, users table and .env.test

* added public.users table

* Add users table migration

* Add users table migration

* more fixing

* prettier, husky and editorconfig

* husky

* update actions

* Move deps

* fixed workflow

* regenerate schema

* fix generated schema

* move to dev dep

---------

Co-authored-by: Visuri Emil A <evisuri@cubbli22-gold.local>
Co-authored-by: DoebelnAtz <axel.ej.adlercreutz@gmail.com>
2025-02-05 16:20:18 +02:00

5 lines
163 B
SQL

CREATE TABLE public.users (
id bigint PRIMARY KEY NOT NULL GENERATED BY DEFAULT AS IDENTITY,
email text UNIQUE NOT NULL,
password_hash text NOT NULL
);