Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 3545:eeb5fcbe8326
db تر¹¹
author | OOTANI Hiroyuki <c115036@g.koeki-u.ac.jp> |
---|---|
date | Fri, 29 Sep 2017 14:22:31 +0900 |
parents | 07d2f44670bb |
children | 0d7d4a94a467 |
files | event/oasis2017/idol/name.rb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/event/oasis2017/idol/name.rb Fri Sep 29 14:21:44 2017 +0900 +++ b/event/oasis2017/idol/name.rb Fri Sep 29 14:22:31 2017 +0900 @@ -32,7 +32,7 @@ printf("Content-type: text/html; charset=UTF-8\n") printf("Set-Cookie: id=%s; expires=%s\n\n", id, expire) -db = SQLite3::Database.new("db/users.sq3") +db = SQLite3::Database.new("../db/users.sq3") db.execute("PRAGMA foreign_keys=on") db.execute("CREATE TABLE IF NOT EXISTS " + "users(id text primary key, name text, creation text)")