lib/generators/sojourn/templates/create_sojourn_events.rb
Method has too many lines. [11/10] Open
Open
def change
create_table :sojourn_events do |t|
t.string :sojourner_uuid, limit: 36, null: false
t.string :name
t.column :properties, :jsonb
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.