Sha256: 568e65f3f69f5f3d33c76ac25aa8200a26a9034702a847dc0969608509fafd4c
Contents?: true
Size: 504 Bytes
Versions: 3
Compression:
Stored size: 504 Bytes
Contents
class JsdocCreateBorrowedPropertiesTable < ActiveRecord::Migration def self.up create_table :jsdoc_borrowed_properties do |t| t.integer :borrowed_to_id t.integer :borrowed_from_id t.integer :property_id t.timestamps end add_index :jsdoc_borrowed_properties, :borrowed_from_id add_index :jsdoc_borrowed_properties, :borrowed_to_id add_index :jsdoc_borrowed_properties, :property_id end def self.down drop_table :jsdoc_borrowed_properties end end
Version data entries
3 entries across 3 versions & 1 rubygems