about summary refs log tree commit diff stats
path: root/db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 13:49:03 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-10-15 13:49:03 -0400
commit9d6d876c62408c69c654aab1a664f1294ec668b7 (patch)
tree45442d5895cc2c1dc6aac9f7a3b6abf64ded20bf /db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb
parent946eda79a292cb792a61a6d7ecb2ca932de65ecd (diff)
downloadthoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.gz
thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.bz2
thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.zip
Added pokeviewer
Diffstat (limited to 'db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb')
-rw-r--r--db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb b/db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb new file mode 100644 index 0000000..3120683 --- /dev/null +++ b/db/migrate/20171015171558_create_pokeviewer_abilities.pokeviewer.rb
@@ -0,0 +1,13 @@
1# This migration comes from pokeviewer (originally 20171011015325)
2class CreatePokeviewerAbilities < ActiveRecord::Migration[5.1]
3 def change
4 create_table :pokeviewer_abilities do |t|
5 t.string :name, null: false, limit: 191
6 t.string :description, null: false
7
8 t.timestamps
9 end
10
11 add_index :pokeviewer_abilities, :name, unique: true
12 end
13end