Initial commit
This commit is contained in:
commit
b6014c6ffc
47 files changed
+4329
No files matched your search
@@ -0,0 +1,9 @@
|
||||
CREATE TABLE knowledge_entries (
|
||||
id UUID PRIMARY KEY,
|
||||
car_id UUID NOT NULL REFERENCES cars(id) ON DELETE CASCADE,
|
||||
title TEXT NOT NULL,
|
||||
body TEXT NOT NULL,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||||
);
|
||||
CREATE INDEX idx_knowledge_entries_car_id ON knowledge_entries(car_id);
|
||||
Reference in new issue
Block a user