Add rails version number to migrations
This commit is contained in:
parent
f773f67958
commit
29a780eb1a
95 changed files with 95 additions and 95 deletions
|
@ -1,6 +1,6 @@
|
|||
require "migrate"
|
||||
|
||||
class AddTextFormat < ActiveRecord::Migration
|
||||
class AddTextFormat < ActiveRecord::Migration[5.0]
|
||||
def up
|
||||
create_enumeration :format_enum, %w[html markdown text]
|
||||
add_column :users, :description_format, :format_enum, :null => false, :default => "html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue