Sha256: a5f842503298b861af40c6d71e5b4ab0dcabe5caf17d4e4a839b3a0ea43eb235
Contents?: true
Size: 988 Bytes
Versions: 39
Compression:
Stored size: 988 Bytes
Contents
class ActivityObjectProperties < ActiveRecord::Migration def up create_table :activity_object_properties do |t| t.integer :activity_object_id t.integer :property_id t.string :type t.timestamp end add_index "activity_object_properties", "activity_object_id" add_index "activity_object_properties", "property_id" add_foreign_key "activity_object_properties", "activity_objects", :name => "index_activity_object_properties_on_activity_object_id", :column => :activity_object_id add_foreign_key "activity_object_properties", "activity_objects", :name => "index_activity_object_properties_on_property_id", :column => :property_id end def down remove_foreign_key "activity_object_properties", :name => "index_activity_object_properties_on_activity_object_id" remove_foreign_key "activity_object_properties", :name => "index_activity_object_properties_on_property_id" drop_table :activity_object_properties end end
Version data entries
39 entries across 39 versions & 2 rubygems