refactor(training): use golang style of naming (do not repeat pacakge name in struct/func names)
This commit is contained in:
parent
e0f401f0a9
commit
c3795dba6a
12 changed files with 232 additions and 232 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue