Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #702 from funny-falcon/patch-1

Sequel new style migration
  • Loading branch information...
commit 26062ab75c5ba586b7c865d814701e7054d32ce6 2 parents f0eef1f + 74c1757
@DAddYE DAddYE authored
View
6 padrino-gen/lib/padrino-gen/generators/components/orms/sequel.rb
@@ -47,12 +47,12 @@ def create_model_file(name, options={})
end
SQ_MIGRATION = (<<-MIGRATION) unless defined?(SQ_MIGRATION)
-class !FILECLASS! < Sequel::Migration
- def up
+Sequel.migration do
+ up do
!UP!
end
- def down
+ down do
!DOWN!
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.