Commit 97c7b22a9f1d8cec63f8c10d2e563874bbbb51cc
1 parent
c584e1d2
Exists in
master
and in
1 other branch
create specific migration to add title for badges
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
db/migrate/20150330102818_create_badges.rb
| @@ -3,7 +3,6 @@ class CreateBadges < ActiveRecord::Migration | @@ -3,7 +3,6 @@ class CreateBadges < ActiveRecord::Migration | ||
| 3 | create_table :gamification_plugin_badges do |t| | 3 | create_table :gamification_plugin_badges do |t| |
| 4 | t.string :name | 4 | t.string :name |
| 5 | t.integer :level | 5 | t.integer :level |
| 6 | - t.string :title | ||
| 7 | t.string :description | 6 | t.string :description |
| 8 | t.string :custom_fields | 7 | t.string :custom_fields |
| 9 | t.references :owner, :polymorphic => true | 8 | t.references :owner, :polymorphic => true |