diff options
author | Andre Arko <andre@arko.net> | 2008-05-31 23:19:40 -0700 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-07-06 20:25:10 +0200 |
commit | 3351d2997017465047b2c3dc63dc31e2362368af (patch) | |
tree | c8e315d0a9f4d9cb759c231077b192fa8ce7d9f9 /activerecord/test/schema | |
parent | 1d8623b42f6249613d39e834a8742b3b143f2aff (diff) | |
download | rails-3351d2997017465047b2c3dc63dc31e2362368af.tar.gz rails-3351d2997017465047b2c3dc63dc31e2362368af.tar.bz2 rails-3351d2997017465047b2c3dc63dc31e2362368af.zip |
Add has_many :primary_key option to allow setting the primary key on a has many association
Signed-off-by: Michael Koziarski <michael@koziarski.com>
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/schema.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 234c43494a..29c91a4464 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -102,6 +102,7 @@ ActiveRecord::Schema.define do t.string :type t.string :ruby_type t.integer :firm_id + t.string :firm_name t.string :name t.integer :client_of t.integer :rating, :default => 1 |