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/20171011015325_create_pokeviewer_abilities.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/migrate/20171011015325_create_pokeviewer_abilities.rb') 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 @@ class CreatePokeviewerAbilities < ActiveRecord::Migration[5.1] def change - create_table :pokeviewer_abilities do |t| + create_table :abilities do |t| t.string :name, null: false, limit: 191 t.string :description, null: false t.timestamps end - add_index :pokeviewer_abilities, :name, unique: true + add_index :abilities, :name, unique: true end end -- cgit 1.4.1