Sha256: c8ee838b5afef97d4b361bf76253c8783f0bcdbd72abaaa3928f9b407213bd94
Contents?: true
Size: 260 Bytes
Versions: 2
Compression:
Stored size: 260 Bytes
Contents
class RuzaiParameters < ActiveRecord::Migration def change add_column :<%= @model_class_name.tableize %>, :suspention_expired_at, :datetime, default: nil add_column :<%= @model_class_name.tableize %>, :suspended_count, :integer, default: 0 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruzai-0.0.4 | lib/generators/ruzai/templates/ruzai_parameters.rb |
ruzai-0.0.3 | lib/generators/ruzai/templates/ruzai_parameters.rb |