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 30
30
arel (6.0.4 )
31
31
builder (3.2.3 )
32
32
concurrent-ruby (1.0.5 )
33
- crass (1.0.3 )
33
+ crass (1.0.4 )
34
34
data_migrations (0.0.1 )
35
35
activerecord
36
36
rake
39
39
i18n (0.9.3 )
40
40
concurrent-ruby (~> 1.0 )
41
41
json (1.8.6 )
42
- loofah (2.1.1 )
42
+ loofah (2.2.2 )
43
43
crass (~> 1.0.2 )
44
44
nokogiri (>= 1.5.9 )
45
45
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)
13
13
ActiveRecord ::Base . establish_connection ( config [ ENV [ 'RAILS_ENV' ] || 'test' ] )
14
14
15
15
start = 0
16
- batch = 100_000
17
- total = 1_000_000
16
+ count = 1_000_000
18
17
pause = nil
19
18
20
19
ARGV . options do |o |
21
20
o . on ( "-s" , "--start=START" , Integer ) { |v | start = v }
22
- o . on ( '-b' , "--batch=BATCH" , Integer ) { |v | batch = v }
23
21
o . on ( '-c' , "--count=COUNT" , Integer ) { |v | count = v }
24
22
o . on ( "-p" , "--pause=PAUSE" , Integer ) { |v | pause = v . to_f / 1000 }
25
23
o . parse!
You can’t perform that action at this time.
0 commit comments