From 28729a4829c68409717ecf82a6b407672ff5fa7d Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 23 Oct 2007 06:18:42 +0000 Subject: validates_uniqueness_of behaves well with abstract superclasses. References #3833, closes #9886. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/db_definitions/schema.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/test/fixtures') diff --git a/activerecord/test/fixtures/db_definitions/schema.rb b/activerecord/test/fixtures/db_definitions/schema.rb index 88f99f51ac..dcb6222cd3 100644 --- a/activerecord/test/fixtures/db_definitions/schema.rb +++ b/activerecord/test/fixtures/db_definitions/schema.rb @@ -289,4 +289,10 @@ ActiveRecord::Schema.define do t.column :message, :string, :null=>false t.column :developer_id, :integer, :null=>false end + + create_table :inept_wizards, :force => true do |t| + t.column :name, :string, :null => false + t.column :city, :string, :null => false + t.column :type, :string + end end -- cgit v1.2.3