Migration version for Rails 5 and above #47

Closed
opened 2025-12-29 00:21:55 +01:00 by adam · 0 comments
Owner

Originally created by @redrick on GitHub (Oct 16, 2017).

Crono generator leaves out migration version as it now appears in migrations from rails 5 and above...

before:

class CreateCronoJobs < ActiveRecord::Migration
  ...omitted...
end

now (rails 5 and above):

class CreateCronoJobs < ActiveRecord::Migration[5.1]
  ...omitted...
end

easy fix thou, will submit PR ASAP :)

Originally created by @redrick on GitHub (Oct 16, 2017). Crono generator leaves out migration version as it now appears in migrations from rails 5 and above... before: ```ruby class CreateCronoJobs < ActiveRecord::Migration ...omitted... end ``` now (rails 5 and above): ```ruby class CreateCronoJobs < ActiveRecord::Migration[5.1] ...omitted... end ``` easy fix thou, will submit PR ASAP :)
adam closed this issue 2025-12-29 00:21:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#47