Sha256: eb1cb9136f622980e41d9ea8490ab786f43f0a02db71af1750923b54ab7fe6d3

Contents?: true

Size: 831 Bytes

Versions: 23

Compression:

Stored size: 831 Bytes

Contents

class CreateChouetteTimeTableVehicleJourney < ActiveRecord::Migration
  def up
    create_table :time_tables_vehicle_journeys, :id => false, :force => true do |t|
      t.integer  "time_table_id", :limit => 8
      t.integer  "vehicle_journey_id", :limit => 8
    end
   add_index "time_tables_vehicle_journeys", ["time_table_id"], :name => "index_time_tables_vehicle_journeys_on_time_table_id"
   add_index "time_tables_vehicle_journeys", ["vehicle_journey_id"], :name => "index_time_tables_vehicle_journeys_on_vehicle_journey_id"
  end

  def down
   remove_index "time_tables_vehicle_journeys", :name => "index_time_tables_vehicle_journeys_on_time_table_id"
   remove_index "time_tables_vehicle_journeys", :name => "index_time_tables_vehicle_journeys_on_vehicle_journey_id"
   drop_table :time_tables_vehicle_journeys
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ninoxe-1.2.3 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.2.2 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.2.1 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.2.0 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.5 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.4 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.3 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.2 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.1 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.1.0 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.0.3 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.0.2 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.0.1 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-1.0.0 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.6 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.5 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.4 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.3 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.2 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb
ninoxe-0.1.1 db/migrate/20120521073900_create_chouette_time_table_vehicle_journey.rb