about summary refs log tree commit diff stats
path: root/db/migrate/20171011015325_create_pokeviewer_abilities.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20171011015325_create_pokeviewer_abilities.rb')
-rw-r--r--db/migrate/20171011015325_create_pokeviewer_abilities.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20171011015325_create_pokeviewer_abilities.rb b/db/migrate/20171011015325_create_pokeviewer_abilities.rb index a7f6b5f..ae9645d 100644 --- a/db/migrate/20171011015325_create_pokeviewer_abilities.rb +++ b/db/migrate/20171011015325_create_pokeviewer_abilities.rb
@@ -1,12 +1,12 @@
1class CreatePokeviewerAbilities < ActiveRecord::Migration[5.1] 1class CreatePokeviewerAbilities < ActiveRecord::Migration[5.1]
2 def change 2 def change
3 create_table :pokeviewer_abilities do |t| 3 create_table :abilities do |t|
4 t.string :name, null: false, limit: 191 4 t.string :name, null: false, limit: 191
5 t.string :description, null: false 5 t.string :description, null: false
6 6
7 t.timestamps 7 t.timestamps
8 end 8 end
9 9
10 add_index :pokeviewer_abilities, :name, unique: true 10 add_index :abilities, :name, unique: true
11 end 11 end
12end 12end