diff --git a/NEWS.md b/NEWS.md index f30f0e0a..45446c1b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,22 @@ +2015-10-04 +========== + + * The channel data storage system has been refactored a bit. For + compatibility, the default remains to store JSON objects for each channel in + the `chandump` folder, however there is now also the option of storing + channel data in the database. You can take advantage of this by setting + `channel-storage: type: 'database'` in your `config.yaml`. + - In order to migrate existing channel data from the `chandump` files to the + database, run `node lib/channel-storage/migrate.js`. + * The database storage method uses foreign keys to associate the channel data + with the corresponding row in the `channels` table. This requires that the + tables be stored using the InnoDB engine rather than MyISAM. If your CyTube + tables defaulted to MyISAM, you can fix them by running + + ```sql + ALTER TABLE `channels` ENGINE = InnoDB; + ``` + 2015-09-21 ========== diff --git a/package.json b/package.json index 9002d45d..a4a22f07 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.10.0", + "version": "3.11.0", "repository": { "url": "http://github.com/calzoneman/sync" },