Sha256: 40458d19a42cb53f93fe6b482f4ee90cfa80ce20abe03f975d375a9827e76446

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

class CreateAccountDomain < ActiveRecord::Migration
  def up
    create_table :account_domains do |t|
      t.column :account_id, :integer
      t.column :url, :string
      t.column :verified, :boolean
      t.column :primary, :boolean
    end
  end

  def down
    drop_table :account_domains
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
iugusdk-1.0.0.alpha.5 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.4 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.3 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.2 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.1 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.0 db/migrate/20120716145846_create_account_domain.rb