Skip to content

Commit 7ec5d2b

Browse files
authored
fix: repeat setProAccount item
sql template has two [setProAccount] item
1 parent afc2e4b commit 7ec5d2b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/db/sql_templates.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"getCustomerByUser": "SELECT * FROM `customers` WHERE `name`=? LIMIT 1",
4747
"setBinVisibility": "UPDATE `owners` SET `visibility`=? WHERE `name`=? AND `url`=?",
4848
"getBinMetadata": "SELECT * FROM `owners` AS `o`, `ownership` AS `os` WHERE o.name=os.name AND o.url=? AND o.revision=?",
49-
"setProAccount": "UPDATE ownership SET `pro`=?, `updated`=? WHERE `name`=?",
5049
"saveBookmark": "INSERT INTO owner_bookmarks (`name`, `url`, `revision`, `type`, `created`) VALUES (?,?,?,?,?)",
5150
"getBookmark": "SELECT * FROM owner_bookmarks WHERE `name`=? AND `type`=? ORDER BY `created` DESC",
5251
"getAssetsForUser": "SELECT * FROM assets WHERE `username`=?",

0 commit comments

Comments
 (0)