rust_forum/migrations/20241213232937_contact.up.sql
Ahmet Kaan GÜMÜŞ 0bb5a0b753 feat: tracing system
fix: 🚑 user_contact is not containing value
feat:  html mail system
refactor: ♻️ axum 0.8 routing compatibility
fix: 🚑 custom claim isn't working in jwt
feat:  token header extended compatibility
2025-01-23 21:34:54 +03:00

7 lines
257 B
SQL

-- Add up migration script here
CREATE TABLE IF NOT EXISTS "contact"(
id BIGSERIAL PRIMARY KEY NOT NULL UNIQUE,
name VARCHAR(32) NOT NULL UNIQUE
);
INSERT INTO "contact"(id, name) VALUES (0, 'Email') ON CONFLICT(id) DO UPDATE SET "name" = 'Email';