Sha256: 381224ff8457c70e556760fccdd55850d7875d7355df5d777604c56487234138
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
*************** *** 82,87 **** add_index [:fff, :ggg] drop_index :hhh add_full_text_index :blah end end --- 82,89 ---- add_index [:fff, :ggg] drop_index :hhh add_full_text_index :blah + add_constraint :con1, ':fred > 100' + drop_constraint :con2 end end *************** *** 94,100 **** {:op => :set_column_default, :name => :eee, :default => 1}, {:op => :add_index, :columns => [:fff, :ggg]}, {:op => :drop_index, :columns => [:hhh]}, - {:op => :add_index, :columns => [:blah], :full_text => true} ] end - end--- 96,104 ---- {:op => :set_column_default, :name => :eee, :default => 1}, {:op => :add_index, :columns => [:fff, :ggg]}, {:op => :drop_index, :columns => [:hhh]}, + {:op => :add_index, :columns => [:blah], :full_text => true}, + {:op => :add_constraint, :type => :check, :name => :con1, :check => [':fred > 100']}, + {:op => :drop_constraint, :name => :con2} ] end + end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sequel_core-1.2.1 | spec/schema_generator_spec.rb.rej |