Remove UserFirst table and grant Emoji badge directly

This commit is contained in:
Robin Ward
2016-04-07 12:27:26 -04:00
parent a2501bfee5
commit 5059ee04b9
7 changed files with 31 additions and 86 deletions

View File

@@ -379,7 +379,7 @@ Badge.seed do |b|
b.multiple_grant = false
b.target_posts = true
b.show_posts = true
b.query = BadgeQueries.has_user_first(:used_emoji)
b.query = nil
b.badge_grouping_id = BadgeGrouping::GettingStarted
b.default_badge_grouping_id = BadgeGrouping::GettingStarted
b.trigger = Badge::Trigger::PostProcessed

View File

@@ -0,0 +1,5 @@
class RemoveUserFirsts < ActiveRecord::Migration
def up
drop_table :user_firsts
end
end