Sha256: 11526d36ebcccfe8ef3bd3cd5f7553464a7e672728ddeae3d99e493c3554853d

Contents?: true

Size: 474 Bytes

Versions: 26

Compression:

Stored size: 474 Bytes

Contents

class CreateSeriesStatementMerges < ActiveRecord::Migration
  def self.up
    create_table :series_statement_merges do |t|
      t.integer :series_statement_id, :null => false
      t.integer :series_statement_merge_list_id, :null => false

      t.timestamps
    end
    add_index :series_statement_merges, :series_statement_id
    add_index :series_statement_merges, :series_statement_merge_list_id
  end

  def self.down
    drop_table :series_statement_merges
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
enju_resource_merge-0.0.7 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.6 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.5 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.4 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.3 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.2 db/migrate/20110627035057_create_series_statement_merges.rb