Sha256: 78c7dab0243cf095b3f5f16d4f16d4631d750aa044f7832cdf6d6e5afe5ee810
Contents?: true
Size: 468 Bytes
Versions: 2
Compression:
Stored size: 468 Bytes
Contents
Description: Generates the necessary migration to enable field tracking for logux updates Examples: rails generate logux:model User This will generate the migration to add a column with update time data. rails generate logux:model User --nullable This will generate the migration to add a column with update time data and add `null: false` constraint. Be careful, adding the constraint to the table with a big number of rows can cause lots of locks.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
logux_rails-0.2.0 | lib/generators/logux/model/USAGE |
logux_rails-0.1.0 | lib/generators/logux/model/USAGE |