Fix examples for migrated packages
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Signed-off-by: Jan Tytgat <jan.tytgat@corelayer.eu>
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
CREATE TABLE IF NOT EXISTS demo
|
||||
(
|
||||
id INTEGER NOT NULL
|
||||
CONSTRAINT p_id
|
||||
PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL
|
||||
CONSTRAINT u_name
|
||||
UNIQUE
|
||||
ON CONFLICT FAIL
|
||||
);
|
||||
|
||||
INSERT INTO demo (name)
|
||||
VALUES ('item1')
|
@ -0,0 +1,3 @@
|
||||
DELETE
|
||||
FROM demo
|
||||
WHERE id == ?
|
@ -0,0 +1,3 @@
|
||||
DELETE
|
||||
FROM demo
|
||||
WHERE name == ?
|
@ -0,0 +1,3 @@
|
||||
INSERT INTO demo (name)
|
||||
VALUES (?)
|
||||
RETURNING id
|
@ -0,0 +1,2 @@
|
||||
SELECT *
|
||||
FROM demo
|
@ -0,0 +1,2 @@
|
||||
SELECT *
|
||||
FROM test
|
Reference in New Issue
Block a user