That way we can admin every sting in the bot from a slick little web page. Here's a generalized strings table:
CREATE TABLE BotText (
ID int(11) DEFAULT '0' NOT NULL auto_increment,
Name varchar(16) DEFAULT '' NOT NULL,
Label varchar(64),
Value blob,
PRIMARY KEY (ID)
);
name and value are the primary pairs, label is just for a very short description, like...a form field label.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That way we can admin every sting in the bot from a slick little web page. Here's a generalized strings table:
CREATE TABLE BotText (
ID int(11) DEFAULT '0' NOT NULL auto_increment,
Name varchar(16) DEFAULT '' NOT NULL,
Label varchar(64),
Value blob,
PRIMARY KEY (ID)
);
name and value are the primary pairs, label is just for a very short description, like...a form field label.