Browse Source

renamed world to World

Sotnikov, Dmitri 9 years ago
parent
commit
9c86c1b854
1 changed files with 3 additions and 3 deletions
  1. 3 3
      frameworks/Clojure/luminus/hello/resources/sql/queries.sql

+ 3 - 3
frameworks/Clojure/luminus/hello/resources/sql/queries.sql

@@ -1,13 +1,13 @@
 -- :name get-worlds :? :*
 -- :name get-worlds :? :*
-SELECT * FROM world
+SELECT * FROM "World"
 WHERE id IN (:v*:ids)
 WHERE id IN (:v*:ids)
 
 
 --:name get-all-fortunes :? :*
 --:name get-all-fortunes :? :*
 -- select all records from the fortune table
 -- select all records from the fortune table
-SELECT * FROM fortune
+SELECT * FROM "Fortune"
 
 
 -- :name update-world! :! :1
 -- :name update-world! :! :1
 -- update an existing world record
 -- update an existing world record
-UPDATE world
+UPDATE "World"
 SET "randomnumber" = :randomNumber
 SET "randomnumber" = :randomNumber
 WHERE id = :id
 WHERE id = :id