You've already forked reloading-manager
happy monday _ bleh _ (#9)
Some checks failed
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m23s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Successful in 1m32s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 3m35s
🏗️ ✨ Build Workflow / 🖼️ 🔨 Build Frontend (push) Successful in 6m11s
🏗️ ✨ Build Workflow / 🖥️ 🔨 Build Backend (push) Successful in 6m47s
🏗️ ✨ Build Workflow / 🚀 ✨ Deploy Application (push) Failing after 53s
Some checks failed
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m23s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Successful in 1m32s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 3m35s
🏗️ ✨ Build Workflow / 🖼️ 🔨 Build Frontend (push) Successful in 6m11s
🏗️ ✨ Build Workflow / 🖥️ 🔨 Build Backend (push) Successful in 6m47s
🏗️ ✨ Build Workflow / 🚀 ✨ Deploy Application (push) Failing after 53s
Reviewed-on: Siteworxpro/reloading-manager#9 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #9.
This commit is contained in:
@@ -18,6 +18,22 @@ delete
|
||||
from cartridges
|
||||
where id = $1;
|
||||
|
||||
-- name: DeleteLoad :exec
|
||||
delete from loads
|
||||
where id = $1;
|
||||
|
||||
-- name: UpdateLoad :exec
|
||||
update loads set
|
||||
cartridge_id = $1,
|
||||
col = $2,
|
||||
powder_id = $3,
|
||||
powder_gr = $4,
|
||||
primer_id = $5,
|
||||
bullet_id = $6,
|
||||
photo = $7,
|
||||
meta = $8
|
||||
where id = $9;
|
||||
|
||||
-- name: CreateLoad :one
|
||||
insert into loads (cartridge_id, col, powder_id, powder_gr, primer_id, bullet_id, photo, meta)
|
||||
values ($1, $2, $3, $4, $5, $6, $7, $8)
|
||||
@@ -25,6 +41,7 @@ returning id;
|
||||
|
||||
-- name: GetLoadById :one
|
||||
select l.id as id,
|
||||
l.photo as photo,
|
||||
c.id as cartridge_id,
|
||||
c.name as cartridge_name,
|
||||
c.meta as cartridge_meta,
|
||||
|
||||
Reference in New Issue
Block a user