1
0
Fork 0

feat!: add slug to training

BREAKING CHANGE: update init migration
This commit is contained in:
Vojtěch Mareš 2024-06-26 22:24:36 +02:00
parent 556b4f4e79
commit 2d32c80182
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
12 changed files with 219 additions and 45 deletions

View file

@ -5,6 +5,7 @@ CREATE SCHEMA IF NOT EXISTS training;
CREATE TABLE IF NOT EXISTS training.trainings (
id SERIAL PRIMARY KEY,
name varchar(255) NOT NULL,
slug varchar(255) NOT NULL,
description text NOT NULL,
days smallint NOT NULL
);