Add pending indexes

1.0
Fernando Blat 14 years ago
parent 1fc07b8065
commit deacadeddf

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

Loading…
Cancel
Save