Sha256: 93bb05b30cae1848cd0b2fb26073d893d847a20fbfed0d98d648cf562c91e3cc
Contents?: true
Size: 422 Bytes
Versions: 6
Compression:
Stored size: 422 Bytes
Contents
# encoding: UTF-8 Sequel.migration do up do add_column :spontaneous_state, :must_publish_all, TrueClass, default: true # although we want new state instances to set the force publish all flag it # would be wrong for existing sites to have this flag set self[:spontaneous_state].update(must_publish_all: false) end down do drop_column :spontaneous_state, :must_publish_all, TrueClass end end
Version data entries
6 entries across 6 versions & 1 rubygems