Sha256: 2fe7a261cd240ce3de8ca2848b50d7c93eae099663fe900a610405b360147e53
Contents?: true
Size: 339 Bytes
Versions: 10
Compression:
Stored size: 339 Bytes
Contents
class CreateEmailAddresses < ActiveRecord::Migration def self.up create_table :email_addresses do |t| t.string :spec, :null => false, :limit => 382 t.string :name t.timestamps end add_index :email_addresses, [:spec, :name], :unique => true end def self.down drop_table :email_addresses end end
Version data entries
10 entries across 10 versions & 2 rubygems