Sha256: e54960592f6074fcbd6cd00699f0b720f777542a7cc9eea4320ae9b204bcc8e9
Contents?: true
Size: 402 Bytes
Versions: 18
Compression:
Stored size: 402 Bytes
Contents
# encoding: UTF-8 Sequel.migration do up do adapter_scheme = self.adapter_scheme alter_table(:content) do # content stores case adapter_scheme when :mysql, :mysql2 add_column :box_store, 'mediumtext' else add_column :box_store, :text end end end down do alter_table(:content) do drop_column :box_store end end end
Version data entries
18 entries across 18 versions & 1 rubygems