User/Person models merge
This commit is contained in:
parent
66b84e3660
commit
23bf55b66c
80 changed files with 1064 additions and 1221 deletions
13
db/migrate/20140609172219_add_person_attributes_to_user.rb
Normal file
13
db/migrate/20140609172219_add_person_attributes_to_user.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
class AddPersonAttributesToUser < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :name, :string
|
||||
add_column :users, :email_public, :boolean
|
||||
add_column :users, :biography, :string
|
||||
add_column :users, :nickname, :string
|
||||
add_column :users, :affiliation, :string
|
||||
add_column :users, :avatar_file_name, :string
|
||||
add_column :users, :avatar_content_type, :string
|
||||
add_column :users, :avatar_file_size, :integer
|
||||
add_column :users, :avatar_updated_at, :datetime
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue