完成用户log

This commit is contained in:
qyzh
2020-10-20 19:58:08 +08:00
parent faf2302b8e
commit 1ac5498091
36 changed files with 463 additions and 25 deletions
@@ -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