Sha256: a54084107b4af101609a16ae41ca8a88bbc67865f7ab21898e2e9340757cf8ad
Contents?: true
Size: 498 Bytes
Versions: 3
Compression:
Stored size: 498 Bytes
Contents
class JsdocCreateBorrowedFunctionsTable < ActiveRecord::Migration def self.up create_table :jsdoc_borrowed_functions do |t| t.integer :borrowed_to_id t.integer :borrowed_from_id t.integer :function_id t.timestamps end add_index :jsdoc_borrowed_functions, :borrowed_from_id add_index :jsdoc_borrowed_functions, :borrowed_to_id add_index :jsdoc_borrowed_functions, :function_id end def self.down drop_table :jsdoc_borrowed_functions end end
Version data entries
3 entries across 3 versions & 1 rubygems