Commit 97c7b22a9f1d8cec63f8c10d2e563874bbbb51cc

Authored by Leandro Santos
1 parent c584e1d2

create specific migration to add title for badges

db/migrate/20150330102818_create_badges.rb
... ... @@ -3,7 +3,6 @@ class CreateBadges < ActiveRecord::Migration
3 3 create_table :gamification_plugin_badges do |t|
4 4 t.string :name
5 5 t.integer :level
6   - t.string :title
7 6 t.string :description
8 7 t.string :custom_fields
9 8 t.references :owner, :polymorphic => true
... ...
db/migrate/20150918005035_add_title_to_badge.rb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +class AddTitleToBadge < ActiveRecord::Migration
  2 + def change
  3 + add_column :gamification_plugin_badges, :title, :string
  4 + end
  5 +end
... ...