about summary refs log tree commit diff stats
path: root/data/maps/the_great/rooms/Talented Entrance.txtpb
blob: 7329853fcd10f101c26284b12b1e6cd127d8753a (plain) (blame)
1
2
3
4
5
6
7
name: "Talented Entrance"
panel_display_name: "Question Room"
ports {
  name: "TALENTED"
  path: "Meshes/Blocks/Warps/worldport14"
  orientation: "south"
}
class="o">< ActiveRecord::Migration[5.1] def up change_table :pokeviewer_pokemon do |t| t.references :current, null: true end add_foreign_key :pokeviewer_pokemon, :pokeviewer_revisions, column: :current_id Pokeviewer::Pokemon.all.each do |p| p.current_id = p.revisions.last.id p.save! end end def down remove_column :pokeviewer_pokemon, :current_id end end