This commit is contained in:
Aaron Bieber 2022-11-29 20:47:23 -07:00
parent 7a3cf08dcf
commit deeadb4af6
No known key found for this signature in database
2 changed files with 14 additions and 4 deletions

View File

@ -21,7 +21,10 @@ insert into watch_items (owner_id, name, repo, descr)
values (?, ?, ?, ?) returning *;
-- name: DeleteWatchItem :exec
delete from watch_items where id = ? and owner_id = ?;
delete
from watch_items
where id = ?
and owner_id = ?;
-- name: GetAllLinks :many
select *
@ -33,7 +36,10 @@ insert into links (owner_id, url, name, logo_url)
values (?, ?, ?, ?) returning *;
-- name: DeleteLink :exec
delete from links where id = ? and owner_id = ?;
delete
from links
where id = ?
and owner_id = ?;
-- name: GetAllIcons :many
select *
@ -57,7 +63,10 @@ insert into pull_requests (owner_id, number, repo, description)
values (?, ?, ?, ?) returning *;
-- name: DeletePullRequest :exec
delete from pull_requests where id = ? and owner_id = ?;
delete
from pull_requests
where id = ?
and owner_id = ?;
-- name: GetAllPullRequestIgnores :many
select *

View File

@ -19,6 +19,7 @@
width: 50px;
hight: 50px;
}
dialog {
display: none;
}
@ -58,7 +59,7 @@
<article>
<h3>Add Watch Item</h3>
<p>
<input type="text" />
<input type="text"/>
</p>
<footer>
<a href="#cancel" role="button" class="secondary">Cancel</a>