ActiveRecord::Migration<%= "[#{Rails::VERSION::STRING[0..2]}]" if Rails::VERSION::MAJOR > 4 %> def change create_table :authentications do |t| t.references :<%= underscored_user_class %>, foreign_key: true