Skip to content

Instantly share code, notes, and snippets.

@pimeys
Created August 22, 2014 10:56
Show Gist options
  • Save pimeys/bb2298c723a8b2006e82 to your computer and use it in GitHub Desktop.
Save pimeys/bb2298c723a8b2006e82 to your computer and use it in GitHub Desktop.
desc "Run migrations"
task :migrate, [:version] do |t, args|
require 'sequel'
require 'providers/database'
<<<<<<< HEAD
String :title
Boolean :independent_publisher_event
Decimal :expected_engagement_rate, size: [10, 4]
Boolean :multiple_completions
Integer :mc_velocity
Integer :mc_velocity_total
end
||||||| merged common ancestors
String :title
Boolean :independent_publisher_event
Boolean :multiple_completions
Integer :mc_velocity
Integer :mc_velocity_total
Decimal :expected_engagement_rate, size: [10, 4]
end
=======
Sequel.extension :migration
>>>>>>> ofw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment