File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 3030 arel (6.0.4 )
3131 builder (3.2.3 )
3232 concurrent-ruby (1.0.5 )
33- crass (1.0.3 )
33+ crass (1.0.4 )
3434 data_migrations (0.0.1 )
3535 activerecord
3636 rake
3939 i18n (0.9.3 )
4040 concurrent-ruby (~> 1.0 )
4141 json (1.8.6 )
42- loofah (2.1.1 )
42+ loofah (2.2.2 )
4343 crass (~> 1.0.2 )
4444 nokogiri (>= 1.5.9 )
4545 micro_migrations (0.0.2 )
Original file line number Diff line number Diff line change @@ -13,13 +13,11 @@ config = YAML.load(ERB.new(File.read('config/database.yml')).result)
1313ActiveRecord ::Base . establish_connection ( config [ ENV [ 'RAILS_ENV' ] || 'test' ] )
1414
1515start = 0
16- batch = 100_000
17- total = 1_000_000
16+ count = 1_000_000
1817pause = nil
1918
2019ARGV . options do |o |
2120 o . on ( "-s" , "--start=START" , Integer ) { |v | start = v }
22- o . on ( '-b' , "--batch=BATCH" , Integer ) { |v | batch = v }
2321 o . on ( '-c' , "--count=COUNT" , Integer ) { |v | count = v }
2422 o . on ( "-p" , "--pause=PAUSE" , Integer ) { |v | pause = v . to_f / 1000 }
2523 o . parse!
You can’t perform that action at this time.
0 commit comments