0.1.3 • Published 9 years ago
hubot-mysql-brain v0.1.3
hubot-mysql-brain
A hubot script to persist hubot's brain using MySQL
See scripts/mysql-brain.coffee
for full documentation.
Installation
In hubot project repo, run:
npm install hubot-mysql-brain --save
Then add hubot-mysql-brain to your
external-scripts.json
:[ "hubot-mysql-brain" ]
Create your database schema
CREATE TABLE `brain` ( `id` INT, `data` TEXT, PRIMARY KEY (`id`) )
Configurations
- MYSQL_URL : e.g.
mysql://user:pass@host/db_name
- MYSQL_TABLE : default to
brain