lib/gdshowsdb/db/migrations/009_import_shows.rb in gdshowsdb-0.9.1 vs lib/gdshowsdb/db/migrations/009_import_shows.rb in gdshowsdb-1.0.0
- old
+ new
@@ -1,9 +1,9 @@
require 'yaml'
require 'securerandom'
require 'gdshowsdb'
-class ImportShows < ActiveRecord::Migration
+class ImportShows < ActiveRecord::Migration[5.0]
include Gdshowsdb
def up
(1965..1995).each do |year|
create_shows(year)
\ No newline at end of file