added database models and models for continous use. Also changed get all paths according to that. Nothing is testet yet!
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
CREATE TABLE path (
|
||||
id integer primary key,
|
||||
id text primary key,
|
||||
title text,
|
||||
description text,
|
||||
versions text
|
||||
);
|
||||
|
||||
CREATE TABLE pathVersions (
|
||||
pathId integer references path(id),
|
||||
versionNumber string,
|
||||
CREATE TABLE pathMetadata (
|
||||
pathId text references path(id),
|
||||
versionNumber text,
|
||||
createdAt text,
|
||||
updatedAt text,
|
||||
primary key (pathId, versionNumber)
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user