mirror of
https://github.com/redmine/redmine.git
synced 2024-09-13 15:45:44 +02:00
e3618bdbec
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
13 lines
473 B
Ruby
13 lines
473 B
Ruby
class CreateEmailAddresses < ActiveRecord::Migration
|
|
def change
|
|
create_table :email_addresses do |t|
|
|
t.column :user_id, :integer, :null => false
|
|
t.column :address, :string, :null => false
|
|
t.column :is_default, :boolean, :null => false, :default => false
|
|
t.column :notify, :boolean, :null => false, :default => true
|
|
t.column :created_on, :timestamp, :null => false
|
|
t.column :updated_on, :timestamp, :null => false
|
|
end
|
|
end
|
|
end
|