From d0bd3b5af4a796d8f0b83815a3f164ae811c0626 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 12 Jun 2005 06:56:51 +0000 Subject: Return PostgreSQL columns in the order they are declared #1374 (perlguy@gmail.com). Unit test column order, adapter housekeeping, simplify users of columns_hash. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/db_definitions/postgresql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 2fd210cb1b..6eb2304957 100644 --- a/activerecord/test/fixtures/db_definitions/postgresql.sql +++ b/activerecord/test/fixtures/db_definitions/postgresql.sql @@ -50,10 +50,10 @@ CREATE TABLE topics ( bonus_time time, last_read date, content text, + approved smallint DEFAULT 1, replies_count integer default 0, parent_id integer, "type" character varying(50), - approved smallint DEFAULT 1, PRIMARY KEY (id) ); SELECT setval('topics_id_seq', 100); -- cgit v1.2.3