Skip to content

Commit

Permalink
fixing migration problem
Browse files Browse the repository at this point in the history
resolves tcocca#110
  • Loading branch information
RudyOnRails authored Nov 29, 2018
1 parent c5ac7b9 commit cf706bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/templates/migration.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class ActsAsFollowerMigration < ActiveRecord::Migration
class ActsAsFollowerMigration < ActiveRecord::Migration[<%= Rails.version.to_f %>]
def self.up
create_table :follows, force: true do |t|
t.references :followable, polymorphic: true, null: false
Expand Down

0 comments on commit cf706bd

Please sign in to comment.