Use rails 4.2 defaults for older migrations
This commit is contained in:
parent
784d4ca03d
commit
b606acba0c
95 changed files with 95 additions and 95 deletions
|
@ -1,6 +1,6 @@
|
|||
require "migrate"
|
||||
|
||||
class AddRelations < ActiveRecord::Migration[5.0]
|
||||
class AddRelations < ActiveRecord::Migration[4.2]
|
||||
def self.up
|
||||
# enums work like strings but are more efficient
|
||||
create_enumeration :nwr_enum, %w[Node Way Relation]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue