Permalink
Browse files

Preparing 2.0.2

  • Loading branch information...
1 parent 8923848 commit 1fa28051830771f794b0b2d6455644f7b81d8b29 @ledermann committed Mar 17, 2013
Showing with 21 additions and 4 deletions.
  1. +20 −3 Changelog.md
  2. +1 −1 lib/rails-settings/version.rb
View
@@ -1,6 +1,23 @@
-WIP
-
-- Removed default for column "value" to fix serialization issue with MySQL
+Version 2.0.2 (2013-03-17)
+
+- Changed database schema to allow NULL for column `value` to fix serialization
+ bug with MySQL. Thanks to @steventen for pointing this out in issue #31.
+
+ IMPORTANT: The migration generator of version 2.0.0 and 2.0.1 was broken. If
+ you use MySQL it's required to update your database schema like
+ this:
+
+ ```ruby
+ class FixSettings < ActiveRecord::Migration
+ def up
+ change_column :settings, :value, :text, :null => true
+ end
+
+ def down
+ change_column :settings, :value, :text, :null => false
+ end
+ end
+ ```
Version 2.0.1 (2013-03-08)
@@ -1,3 +1,3 @@
module RailsSettings
- VERSION = '2.0.1'
+ VERSION = '2.0.2'
end

0 comments on commit 1fa2805

Please sign in to comment.