Sha256: a10d2ab25d409dff5bad323904979eb4cea92c0919e96a9a676bbf10383a55bc

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

class CreateInnerChildren < ActiveRecord::Migration
  def self.up
    create_table :inner_children do |t|
	t.column :field, :string
	t.column :nested_child_id, :integer
    end
  end

  def self.down
    drop_table :inner_children
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
joinfix-0.1.0 rails/db/migrate/003_create_inner_children.rb
joinfix-0.1.1 rails/db/migrate/003_create_inner_children.rb
joinfix-1.0.0 rails/db/migrate/003_create_inner_children.rb
joinfix-1.0.1 rails/db/migrate/003_create_inner_children.rb