~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to install/steps/135.json

  • Committer: Dan Garner
  • Date: 2015-03-26 14:08:33 UTC
  • Revision ID: git-v1:70d14044444f8dc5d602b99890d59dea46d9470c
Moved web servable files to web folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{
2
 
  "dbVersion": 135,
3
 
  "appVersion": "1.8.4",
4
 
  "steps": [
5
 
    {
6
 
      "step": "Add new columns for Remote DataSets",
7
 
      "action": "ALTER TABLE `dataset` ADD COLUMN `isRemote` TINYINT(4) NOT NULL DEFAULT 0;ALTER TABLE `dataset` ADD COLUMN `method` ENUM('GET','POST') DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `uri` varchar(250) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `postData` TEXT DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `authentication` ENUM('none','plain','basic','digest') DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `username` varchar(100) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `password` varchar(250) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `refreshRate` int(11) DEFAULT 86400;ALTER TABLE `dataset` ADD COLUMN `clearRate` int(11) DEFAULT 0;ALTER TABLE `dataset` ADD COLUMN `runsAfter` int(11) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `dataRoot` varchar(250) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `lastSync` int(11) NOT NULL DEFAULT 0;ALTER TABLE `dataset` ADD COLUMN `summarize` varchar(10) DEFAULT NULL;ALTER TABLE `dataset` ADD COLUMN `summarizeField` varchar(250) DEFAULT NULL;"
8
 
    },
9
 
    {
10
 
      "step": "Add a column type for remote DataSets",
11
 
      "action": "INSERT INTO `datasetcolumntype` SET dataSetColumnTypeId=3, dataSetColumnType='Remote';"
12
 
    },
13
 
    {
14
 
      "step": "Add a new column to the DataSet column table for remote DataSets",
15
 
      "action": "ALTER TABLE `datasetcolumn` ADD `RemoteField` VARCHAR(250) DEFAULT NULL AFTER `formula`;"
16
 
    },
17
 
    {
18
 
      "step": "Create a Task for fetching all remote DataSets automatically",
19
 
      "action": "INSERT INTO `task` SET `name`='Fetch Remote DataSets', `class`='\\\\Xibo\\\\XTR\\\\RemoteDataSetFetchTask', `status`=2, `isActive`=1, `configFile`='/tasks/remote-dataset.task', `options`='{}', `schedule`='30 * * * * *';"
20
 
    }
21
 
  ]
22
 
}
 
 
b'\\ No newline at end of file'