Make Rust models for database schema

This commit is contained in:
phundrak committed 2023-01-03 16:11:43 +01:00
1 parent a9e300ede2
commit 60988cff24
10 files changed
+142 -7

No files matched your search

@@ -6,11 +6,11 @@ CREATE TYPE AgentLanguageRelation as ENUM ('publisher', 'author');
CREATE TABLE Languages (
name VARCHAR(255) PRIMARY KEY,
native VARCHAR(255),
relese Release NOT NULL,
release Release NOT NULL,
targetLanguage TEXT[] NOT NULL,
genre DictGenre[] NOT NULL,
abstract TEXT,
created TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
created TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL,
description TEXT,
rights TEXT,
license TEXT,