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/20170917011102_create_pokeviewer_moves.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/migrate/20170917011102_create_pokeviewer_moves.rb') diff --git a/db/migrate/20170917011102_create_pokeviewer_moves.rb b/db/migrate/20170917011102_create_pokeviewer_moves.rb index 86bf45f..27cebfe 100644 --- a/db/migrate/20170917011102_create_pokeviewer_moves.rb +++ b/db/migrate/20170917011102_create_pokeviewer_moves.rb @@ -1,12 +1,12 @@ class CreatePokeviewerMoves < ActiveRecord::Migration[5.1] def change - create_table :pokeviewer_moves do |t| + create_table :moves do |t| t.string :name, null: false, limit: 191 t.integer :pp, null: false t.timestamps end - add_index :pokeviewer_moves, :name, unique: true + add_index :moves, :name, unique: true end end -- cgit 1.4.1