소스 검색

fix update code

Pi 3 달 전
부모
커밋
72244eaf3d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      util-sqlpage/code/update.sql

+ 1 - 1
util-sqlpage/code/update.sql

@@ -1,5 +1,5 @@
 INSERT INTO code_detail(hash, type, store, value, expiry, used)
-VALUES (:hash, :type->>'0', :store->>'0', :value, :expiry, :used)
+VALUES (:hash, :type->>0, :store->>0, :value, :expiry, :used)
 ON CONFLICT DO
 UPDATE SET
   type = excluded.type,