Permalink
Browse files

Replace index on novels table

  • Loading branch information...
1 parent 758bc43 commit 2da7892e9d0da36b4bef0b52ff9d83d340d583a6 @norman committed Mar 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/schema.rb
View
@@ -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

0 comments on commit 2da7892

Please sign in to comment.