mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
完成用户log
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddVisibleToStoppedSponsorship < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :stopped_sponsorships, :visible, :integer
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
class ChangeUserDescriptionType < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_column :users, :description
|
||||
add_column :users, :description, :text
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,6 @@
|
||||
class AddAccumulateToSponsorships < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :sponsorships, :accumulate, :integer, default: 0
|
||||
add_column :stopped_sponsorships, :accumulate, :integer, default: 0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user