lib/generators/templates/migration.rb in detour-0.0.1 vs lib/generators/templates/migration.rb in detour-0.0.2
- old
+ new
@@ -1,9 +1,11 @@
class SetupDetour < ActiveRecord::Migration
def change
create_table :detour_features do |t|
t.string :name
t.integer :failure_count, default: 0
+ t.text :flag_in_counts, default: "{}"
+ t.text :opt_out_counts, default: "{}"
t.timestamps
end
add_index :detour_features, :name, unique: true