diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:49:03 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:49:03 -0400 |
commit | 9d6d876c62408c69c654aab1a664f1294ec668b7 (patch) | |
tree | 45442d5895cc2c1dc6aac9f7a3b6abf64ded20bf /db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb | |
parent | 946eda79a292cb792a61a6d7ecb2ca932de65ecd (diff) | |
download | thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.gz thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.bz2 thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.zip |
Added pokeviewer
Diffstat (limited to 'db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb')
-rw-r--r-- | db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb b/db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb new file mode 100644 index 0000000..01f4c2d --- /dev/null +++ b/db/migrate/20171015171549_add_ribbons_to_revision.pokeviewer.rb | |||
@@ -0,0 +1,25 @@ | |||
1 | # This migration comes from pokeviewer (originally 20170929211529) | ||
2 | class AddRibbonsToRevision < ActiveRecord::Migration[5.1] | ||
3 | def change | ||
4 | change_table :pokeviewer_revisions do |t| | ||
5 | t.integer :cool_ribbons, null: false, default: 0 | ||
6 | t.integer :beauty_ribbons, null: false, default: 0 | ||
7 | t.integer :cute_ribbons, null: false, default: 0 | ||
8 | t.integer :smart_ribbons, null: false, default: 0 | ||
9 | t.integer :tough_ribbons, null: false, default: 0 | ||
10 | |||
11 | t.boolean :champion_ribbon, default: false | ||
12 | t.boolean :winning_ribbon, default: false | ||
13 | t.boolean :victory_ribbon, default: false | ||
14 | t.boolean :artist_ribbon, default: false | ||
15 | t.boolean :effort_ribbon, default: false | ||
16 | t.boolean :marine_ribbon, default: false | ||
17 | t.boolean :land_ribbon, default: false | ||
18 | t.boolean :sky_ribbon, default: false | ||
19 | t.boolean :country_ribbon, default: false | ||
20 | t.boolean :national_ribbon, default: false | ||
21 | t.boolean :earth_ribbon, default: false | ||
22 | t.boolean :world_ribbon, default: false | ||
23 | end | ||
24 | end | ||
25 | end | ||