Skip to content

Commit

Permalink
Fix missing require
Browse files Browse the repository at this point in the history
  • Loading branch information
pokonski committed Jul 24, 2018
1 parent f190e3c commit 493b602
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
require 'migrations_base.rb'

# Migration responsible for creating a table with activities
class CreateActivities < MigrationsBase
class CreateActivities < (ActiveRecord.version.release() < Gem::Version.new('5.2.0') ? ActiveRecord::Migration : ActiveRecord::Migration[5.2])
# Create table
def self.up
create_table :activities do |t|
Expand Down

0 comments on commit 493b602

Please sign in to comment.