mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-11-30 01:39:38 +01:00
feat(connector): add Project SQL
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
CREATE TABLE Project (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
aircraftType TEXT NOT NULL,
|
||||
createdUTC TEXT NOT NULL,
|
||||
modifiedUTC TEXT
|
||||
);
|
||||
|
||||
createProject:
|
||||
INSERT INTO Project(name, aircraftType, createdUTC)
|
||||
VALUES (?, ?, ?);
|
||||
|
||||
selectAllProjects:
|
||||
SELECT * FROM Project;
|
||||
Reference in New Issue
Block a user