aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/db_definitions/postgresql.sql
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-06-12 06:56:51 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-06-12 06:56:51 +0000
commitd0bd3b5af4a796d8f0b83815a3f164ae811c0626 (patch)
tree02ebe7f6eeab523dcf5190845b95a9b91ed1affb /activerecord/test/fixtures/db_definitions/postgresql.sql
parent3cb26e9cb3c1f3a069e7654988c650ca12322ede (diff)
downloadrails-d0bd3b5af4a796d8f0b83815a3f164ae811c0626.tar.gz
rails-d0bd3b5af4a796d8f0b83815a3f164ae811c0626.tar.bz2
rails-d0bd3b5af4a796d8f0b83815a3f164ae811c0626.zip
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
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/postgresql.sql')
-rw-r--r--activerecord/test/fixtures/db_definitions/postgresql.sql2
1 files changed, 1 insertions, 1 deletions
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);