Advertisement
Guest User

Untitled

a guest
Jul 1st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. local db = require("lapis.db")
  2. local res = db.query("SELECT * FROM users");
  3.  
  4. config({ "development", "production" }, {
  5. postgres = {
  6. host = "0.0.0.0",
  7. port = "5432",
  8. user = "wars_base",
  9. password = "12345",
  10. database = "wars_base"
  11. }
  12. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement