Sha256: 9c991eb83614ff9b16e8a1556e3475c7165d4479db9f3daef3a20e71ff131dbe

Contents?: true

Size: 783 Bytes

Versions: 2

Compression:

Stored size: 783 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def change
    create_table :users do |t|
      t.string :opts
      
      t.string :attribute_hash
      t.string :attribute_if
      t.string :attribute_if_hash
      t.string :attribute_unless
      t.string :attribute_unless_hash
      t.string :attribute_if_unless
      t.string :attribute_if_format
      t.string :attribute_unless_format
      t.string :attribute_if_opts
      t.string :attribute_unless_opts
      t.string :attribute_only_xml
      t.string :attribute_only_json
      t.string :attribute_only_hash
      t.string :attribute_except_xml
      t.string :attribute_except_json
      t.string :attribute_except_hash
      t.string :attribute_only_xml_txt
      t.string :attribute_except_xml_txt
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attribute_ext-1.4.1 spec/dummy/db/migrate/20120306121700_create_users.rb
attribute_ext-1.4.0 spec/dummy/db/migrate/20120306121700_create_users.rb