-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad3b572
commit 2d6d965
Showing
8 changed files
with
1 addition
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1 @@ | ||
CREATE TABLE about_cms( | ||
id SERIAL PRIMARY KEY | ||
bg_image TEXT, | ||
banner TEXT, | ||
partnership_img TEXT, | ||
qc_image TEXT, | ||
president_image TEXT, | ||
org_chart TEXT, | ||
description TEXT, -- Paragraphs | ||
mission TEXT, | ||
vision TEXT, | ||
partnership TEXT, | ||
commitment TEXT, | ||
president_message TEXT | ||
) | ||
|
||
CREATE TABLE about_gallery( | ||
id SERIAL PRIMARY KEY | ||
imagesrc TEXT, | ||
createdAt timestamp DEFAULT CURRENT_TIMESTAMP, | ||
updatedAt timestamp DEFAULT CURRENT_TIMESTAMP, | ||
cms_id INT NOT NULL, | ||
FOREIGN KEY (cms_id) REFERENCES about_cms(id) ON DELETE CASCADE | ||
) | ||
|
||
CREATE TABLE blogs( | ||
id SERIAL PRIMARY KEY, | ||
bg_image TEXT, | ||
author TEXT, | ||
title TEXT, | ||
description TEXT, | ||
createdAt timestamp DEFAULT CURRENT_TIMESTAMP, | ||
updatedAt timestamp DEFAULT CURRENT_TIMESTAMP | ||
) | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.