1
0
Fork 0

refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names)

This commit is contained in:
Vojtěch Mareš 2024-06-23 13:13:44 +02:00
parent e0f401f0a9
commit c3795dba6a
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
12 changed files with 232 additions and 232 deletions

View file

@ -36,7 +36,7 @@ CREATE TABLE IF NOT EXISTS training.dates (
CONSTRAINT allowed_currencies CHECK (price_currency IN ('USD', 'EUR', 'CZK'))
);
CREATE TABLE IF NOT EXISTS training.date_attendees (
CREATE TABLE IF NOT EXISTS training.attendees (
id SERIAL PRIMARY KEY,
date_id SERIAL REFERENCES training.dates(id),
name VARCHAR(255) NOT NULL,