From a2f26b971bf61263582604ad7e1af14b9566949e Mon Sep 17 00:00:00 2001
From: David Heinemeier Hansson <david@loudthinking.com>
Date: Sat, 18 Jun 2005 05:28:59 +0000
Subject: Fixed that adding a record to a has_and_belongs_to collection would
 always save it -- now it only saves if its a new record #1203 [Alisdair
 McDiarmid]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 activerecord/test/fixtures/db_definitions/postgresql.sql | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'activerecord/test/fixtures/db_definitions/postgresql.sql')

diff --git a/activerecord/test/fixtures/db_definitions/postgresql.sql b/activerecord/test/fixtures/db_definitions/postgresql.sql
index 134f030f13..60623e5a48 100644
--- a/activerecord/test/fixtures/db_definitions/postgresql.sql
+++ b/activerecord/test/fixtures/db_definitions/postgresql.sql
@@ -28,6 +28,8 @@ CREATE TABLE developers (
     id serial,
     name character varying(100),
     salary integer DEFAULT 70000,
+    created_at timestamp,
+    updated_at timestamp,
     PRIMARY KEY (id)
 );
 SELECT setval('developers_id_seq', 100);
-- 
cgit v1.2.3

