Skip to content

Commit

Permalink
Add migration number
Browse files Browse the repository at this point in the history
Fixes #89
  • Loading branch information
strzibny committed Sep 4, 2024
1 parent d091e2c commit 1952a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/active_record/templates/migration.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class DeviseOtpAddTo<%= table_name.camelize %> < ActiveRecord::Migration
class DeviseOtpAddTo<%= table_name.camelize %> < ActiveRecord::Migration[7.0]
def self.up
change_table :<%= table_name %> do |t|
t.string :otp_auth_secret
Expand Down

0 comments on commit 1952a83

Please sign in to comment.