diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-12-07 11:49:49 -0500 |
commit | 56f5841d4b9c12296cdfcaeff174b2627d59afc8 (patch) | |
tree | 4f7da4ebbe5ee15a1594b26466ed78e2cf10de35 /db/migrate/20170916232015_create_pokeviewer_species.rb | |
parent | c1b0443ba2aebdbd39291ddab0c189f3f4831320 (diff) | |
download | pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.gz pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.tar.bz2 pokeviewer-56f5841d4b9c12296cdfcaeff174b2627d59afc8.zip |
Migrate to full rails app
Diffstat (limited to 'db/migrate/20170916232015_create_pokeviewer_species.rb')
-rw-r--r-- | db/migrate/20170916232015_create_pokeviewer_species.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20170916232015_create_pokeviewer_species.rb b/db/migrate/20170916232015_create_pokeviewer_species.rb index e6d5c09..0d630ea 100644 --- a/db/migrate/20170916232015_create_pokeviewer_species.rb +++ b/db/migrate/20170916232015_create_pokeviewer_species.rb | |||
@@ -1,11 +1,11 @@ | |||
1 | class CreatePokeviewerSpecies < ActiveRecord::Migration[5.1] | 1 | class CreatePokeviewerSpecies < ActiveRecord::Migration[5.1] |
2 | def change | 2 | def change |
3 | create_table :pokeviewer_species do |t| | 3 | create_table :species do |t| |
4 | t.string :name, null: false, limit: 191 | 4 | t.string :name, null: false, limit: 191 |
5 | 5 | ||
6 | t.timestamps | 6 | t.timestamps |
7 | end | 7 | end |
8 | 8 | ||
9 | add_index :pokeviewer_species, :name, unique: true | 9 | add_index :species, :name, unique: true |
10 | end | 10 | end |
11 | end | 11 | end |