mirror of
https://github.com/neocities/neocities.git
synced 2025-08-05 17:18:02 +02:00
initial plan structure, and some misc fixes
This commit is contained in:
parent
555e64ac97
commit
86990f3535
10 changed files with 129 additions and 24 deletions
8
Rakefile
8
Rakefile
|
@ -116,3 +116,11 @@ task :buildssl => [:environment] do
|
|||
ar.add_buffer 'sslsites.json', payload.to_json
|
||||
end
|
||||
end
|
||||
|
||||
desc 'Set existing stripe customers to internal supporter plan'
|
||||
task :primenewstriperunonlyonce => [:environment] do
|
||||
Site.exclude(stripe_customer_id: nil).all.each do |site|
|
||||
site.plan_type = 'supporter'
|
||||
site.save_changes validate: false
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue