add everything to manage reputations
This commit is contained in:
12
db/migrate/20210430163754_create_wow_reputation_tiers.rb
Normal file
12
db/migrate/20210430163754_create_wow_reputation_tiers.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateWowReputationTiers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :wow_reputation_tiers do |t|
|
||||
t.string :href
|
||||
t.integer :reputation_tier_id, null: false
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
add_index :wow_reputation_tiers, :reputation_tier_id, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user