fix migration version and updated old rails methods into rails migrations
This commit is contained in:
parent
6e276b2787
commit
4eb451b3bd
204 changed files with 206 additions and 206 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ActsAsCommentableUpgradeMigration < ActiveRecord::Migration
|
||||
class ActsAsCommentableUpgradeMigration < ActiveRecord::Migration[4.2]
|
||||
def self.up
|
||||
rename_column :comments, :comment, :body
|
||||
add_column :comments, :subject, :string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue