From 56f5841d4b9c12296cdfcaeff174b2627d59afc8 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 11:49:49 -0500 Subject: Migrate to full rails app --- db/migrate/20170916232015_create_pokeviewer_species.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/migrate/20170916232015_create_pokeviewer_species.rb') 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 @@ class CreatePokeviewerSpecies < ActiveRecord::Migration[5.1] def change - create_table :pokeviewer_species do |t| + create_table :species do |t| t.string :name, null: false, limit: 191 t.timestamps end - add_index :pokeviewer_species, :name, unique: true + add_index :species, :name, unique: true end end -- cgit 1.4.1