This repository has been archived on 2026-01-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
cover-letter-templater/backend/db/migrations.sql
T
Leons Aleksandrovs 5596e37b1e Database support
Added connection
Added healthcheck
Added migration
2025-07-03 23:28:01 +03:00

9 lines
219 B
SQL

-- Create users table if it doesn't exist
CREATE TABLE IF NOT EXISTS users (
id INT PRIMARY KEY,
username TEXT NOT NULL UNIQUE,
password TEXT NOT NULL,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);