Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Replace index on novels table

  • Loading branch information...
commit 2da7892e9d0da36b4bef0b52ff9d83d340d583a6 1 parent 758bc43
@norman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  test/schema.rb
View
1  test/schema.rb
@@ -32,6 +32,7 @@ def up
add_column :novels, :novelist_id, :integer
add_column :novels, :publisher_id, :integer
remove_index :novels, :slug
+ add_index :novels, [:slug, :publisher_id, :novelist_id], :unique => true
# This will be used to test column name quoting
add_column :journalists, "strange name", :string
Please sign in to comment.
Something went wrong with that request. Please try again.