diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-09 15:05:03 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-09 15:05:03 +0300 |
commit | 36f861f1b1b7dc02a83d16243f680c8fbdfabfb7 (patch) | |
tree | c399a97b4db2cba9e52e0ff6186b3b3c207da2c0 /app/models/email.rb | |
parent | c5cdd07899df5cc5d87c514a7649979056fcced7 (diff) | |
download | gitlab-ce-36f861f1b1b7dc02a83d16243f680c8fbdfabfb7.tar.gz |
Re-annotate models
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/email.rb')
-rw-r--r-- | app/models/email.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app/models/email.rb b/app/models/email.rb index b92c1841063..9068c2b87b6 100644 --- a/app/models/email.rb +++ b/app/models/email.rb @@ -2,10 +2,13 @@ # # Table name: emails # -# id :integer not null, primary key -# user_id :integer not null -# email :string not null -# created_at :datetime not null +# id :integer not null, primary key +# user_id :integer not null +# email :string(255) not null +# created_at :datetime +# updated_at :datetime +# + class Email < ActiveRecord::Base attr_accessible :email, :user_id |