feat: contact rethinked and user_contact created

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-12-15 03:58:47 +03:00
parent aa679b5a05
commit e167b864ee
19 changed files with 261 additions and 29 deletions

View file

@ -1,5 +1,5 @@
-- Add up migration script here
CREATE TABLE IF NOT EXISTS "contact"(
user_id BIGSERIAL PRIMARY KEY NOT NULL UNIQUE,
email VARCHAR(255) NOT NULL UNIQUE
id BIGSERIAL PRIMARY KEY NOT NULL UNIQUE,
name VARCHAR(255) NOT NULL UNIQUE
);