parent
cb73a97425
commit
8267a5645e
@ -1,5 +1,6 @@
|
||||
class Ecloud < ActiveRecord::Base
|
||||
attr_accessible :applyno, :begintime, :bossorderid, :custcode, :custid, :custname, :custtype, :ecordercode, :endtime, :mobile, :opttype, :productcode, :registersource, :string, :trial, :useralias, :userid, :username
|
||||
attr_accessible :applyno, :begintime, :bossorderid, :custcode, :custid, :custname, :custtype, :ecordercode, :endtime,
|
||||
:mobile, :opttype, :productcode, :registersource, :string, :trial, :useralias, :userid, :username, :email
|
||||
has_many :ecloud_users
|
||||
has_many :ecloud_services
|
||||
end
|
||||
|
@ -0,0 +1,5 @@
|
||||
class AddEmailToEcloud < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :eclouds, :email, :string
|
||||
end
|
||||
end
|
Loading…
Reference in new issue