Sha256: 52bafdfc49a2cb7910be39d5f2ec4972ad217e14ce9d39fdbfd4594f16fc011a

Contents?: true

Size: 391 Bytes

Versions: 2

Compression:

Stored size: 391 Bytes

Contents

class CreateFields < ActiveRecord::Migration
  def change
    create_table :mega_bar_fields do |t|
      t.references :model
      t.string :schema
      t.string :tablename
      t.string :field
      t.string :data_type
      t.string :accessor
      t.string :default_value
      t.string :default_data_format
      t.string :default_data_format_edit
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mega_bar-0.5.2 db/migrate/20140521220256_create_fields.rb
mega_bar-0.5.1 db/migrate/20140521220256_create_fields.rb