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.1.0.pre10 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre9 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre8 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre7 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre6 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre5 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre4 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre3 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre2 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.1.0.pre db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.17 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.16 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.15 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.14 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.13 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.12 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.11 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.10 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.9 db/migrate/20110627035057_create_series_statement_merges.rb
enju_resource_merge-0.0.8 db/migrate/20110627035057_create_series_statement_merges.rb