Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update lib/sinatra/sequel.rb

Make sure that `create_migrations_table` uses the `migrations_table_name` variable rather than hardcoded.
  • Loading branch information...
commit 3936fd66a683169b98d95fc3112c3d1f683c435e 1 parent aab6acf
@bryanrite bryanrite authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sinatra/sequel.rb
View
2  lib/sinatra/sequel.rb
@@ -38,7 +38,7 @@ def migration(name, &block)
protected
def create_migrations_table
- database.create_table? :migrations do
+ database.create_table? migrations_table_name do
primary_key :id
String :name, :null => false, :index => true
timestamp :ran_at
Please sign in to comment.
Something went wrong with that request. Please try again.