fmt
This commit is contained in:
parent
7a3cf08dcf
commit
deeadb4af6
15
queries.sql
15
queries.sql
@ -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 *
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user