diff options
Diffstat (limited to 'db/migrate/20170929211529_add_ribbons_to_revision.rb')
-rw-r--r-- | db/migrate/20170929211529_add_ribbons_to_revision.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170929211529_add_ribbons_to_revision.rb b/db/migrate/20170929211529_add_ribbons_to_revision.rb index 1dc93c1..0fb8037 100644 --- a/db/migrate/20170929211529_add_ribbons_to_revision.rb +++ b/db/migrate/20170929211529_add_ribbons_to_revision.rb | |||
@@ -1,6 +1,6 @@ | |||
1 | class AddRibbonsToRevision < ActiveRecord::Migration[5.1] | 1 | class AddRibbonsToRevision < ActiveRecord::Migration[5.1] |
2 | def change | 2 | def change |
3 | change_table :pokeviewer_revisions do |t| | 3 | change_table :revisions do |t| |
4 | t.integer :cool_ribbons, null: false, default: 0 | 4 | t.integer :cool_ribbons, null: false, default: 0 |
5 | t.integer :beauty_ribbons, null: false, default: 0 | 5 | t.integer :beauty_ribbons, null: false, default: 0 |
6 | t.integer :cute_ribbons, null: false, default: 0 | 6 | t.integer :cute_ribbons, null: false, default: 0 |