Sha256: cf47293490ce60d88a31697ccb0cfa801d2589ef394b44e9a3f8e07d23448953

Contents?: true

Size: 376 Bytes

Versions: 35

Compression:

Stored size: 376 Bytes

Contents

class CreateAccountDomain < ActiveRecord::Migration
  def up
    create_table :account_domains, id: false do |t|
      t.uuid :id, primary_key: true
      t.uuid :account_id
      t.column :url, :string
      t.column :verified, :boolean
      t.column :primary, :boolean
    end
    add_index :account_domains, :id
  end

  def down
    drop_table :account_domains
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
iugusdk-1.0.11 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.10 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.9 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.8 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.7 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.6 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.5 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.4 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.3 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.2 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.1 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.32 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.31 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.30 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.29 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.28 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.27 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.26 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.25 db/migrate/20120716145846_create_account_domain.rb
iugusdk-1.0.0.alpha.24 db/migrate/20120716145846_create_account_domain.rb