Added database for projects
This commit is contained in:
13
migrations/20251027081447_projects.sql
Normal file
13
migrations/20251027081447_projects.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
CREATE TABLE IF NOT EXISTS Projects (
|
||||
"id" TEXT NOT NULL,
|
||||
"title" TEXT NOT NULL,
|
||||
"description" TEXT NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS Project_Detail (
|
||||
"id" TEXT PRIMARY KEY NOT NULL,
|
||||
"title" TEXT NOT NULL,
|
||||
"git_url" TEXT NOT NULL,
|
||||
"git_title" TEXT NOT NULL,
|
||||
"description" TEXT NOT NULL
|
||||
)
|
||||
13
migrations/20251027102341_website_project.sql
Normal file
13
migrations/20251027102341_website_project.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
INSERT INTO Projects ("id", "title", "description") VALUES (
|
||||
'website',
|
||||
'website',
|
||||
'This project is the website you currently are on.'
|
||||
);
|
||||
|
||||
INSERT INTO Project_Detail ("id", "title", "git_url", "git_title", "description") VALUES (
|
||||
'website',
|
||||
'website',
|
||||
'https://git.aindustries.be/AINDUSTRIES/aindustries.be',
|
||||
'aindustries-be',
|
||||
'This project, the website you are on, is made in Rust such that all the pages are generated by code. <br> That is that each html element is represented by a struct which implements the Render trait (as in render the element to html). <br> As it is right now the system is not that impressive but I believe it can do amazing things in the future.'
|
||||
)
|
||||
Reference in New Issue
Block a user