From e30699f66034405de0eaaad12066c2c7d266762f Mon Sep 17 00:00:00 2001
From: Marcel Molina <marcel@vernix.org>
Date: Sun, 9 Oct 2005 00:52:25 +0000
Subject: Add geometric type for postgresql adapter. Closes #2233.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 activerecord/test/fixtures/db_definitions/postgresql.sql | 11 +++++++++++
 1 file changed, 11 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 3b49c2c5f4..89cc89ab78 100644
--- a/activerecord/test/fixtures/db_definitions/postgresql.sql
+++ b/activerecord/test/fixtures/db_definitions/postgresql.sql
@@ -207,3 +207,14 @@ CREATE TABLE fk_test_has_fk (
   id    INTEGER NOT NULL PRIMARY KEY,
   fk_id INTEGER NOT NULL REFERENCES fk_test_has_fk(id)
 );
+
+CREATE TABLE geometrics (
+  id serial primary key,
+  a_point point,
+  -- a_line line, (the line type is currently not implemented in postgresql)
+  a_line_segment lseg,
+  a_box box,
+  a_path path,
+  a_polygon polygon,
+  a_circle circle
+);
-- 
cgit v1.2.3

