Fix migration for ruby 2.4

pull/11453/head
Javier Torres 8 years ago
parent 97d141c785
commit 914384e3e7

@ -4,8 +4,8 @@ class TagsMigration < Sequel::Migration
create_table :tags do
primary_key :id
String :name, :null => false
Fixnum :user_id, :null => false, :index => true
Fixnum :table_id, :null => false, :index => true
Integer :user_id, :null => false, :index => true
Integer :table_id, :null => false, :index => true
index [:user_id, :table_id, :name], :unique => true
end
end

Loading…
Cancel
Save