diff options
Diffstat (limited to 'rhnop-server/playlog.lua')
-rw-r--r-- | rhnop-server/playlog.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rhnop-server/playlog.lua b/rhnop-server/playlog.lua index 37b9ea6..99fc5fe 100644 --- a/rhnop-server/playlog.lua +++ b/rhnop-server/playlog.lua @@ -23,7 +23,8 @@ require "luasql.mysql" -- CREATE DATABASE rhnop -- GRANT select,insert,update ON rhnop.* TO 'nopsyncd' IDENTIFIED BY '123456'; --- CREATE TABLE IF NOT EXISTS now (timestamp VARCHAR(16) PRIMARY KEY NOT NULL, cart INT NOT NULL, len INT, showtitle VARCHAR(255), title VARCHAR(255), artist VARCHAR(255), album VARCHAR(255), ismusic BOOLEAN) +-- USE rhnop +-- CREATE TABLE IF NOT EXISTS now (timestamp VARCHAR(16) PRIMARY KEY NOT NULL, cart INT NOT NULL, len INT, showtitle VARCHAR(255), title VARCHAR(255), artist VARCHAR(255), album VARCHAR(255), ismusic BOOLEAN); conf = require "conf" |