diff options
author | Marcel Molina <marcel@vernix.org> | 2005-10-09 00:52:25 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-10-09 00:52:25 +0000 |
commit | e30699f66034405de0eaaad12066c2c7d266762f (patch) | |
tree | 3417968e16db343b7166d5cb507ee4df1a940e02 /activerecord/test/fixtures/db_definitions | |
parent | 24b9d2fe7115362677ed940b9e6117b185c1c1b2 (diff) | |
download | rails-e30699f66034405de0eaaad12066c2c7d266762f.tar.gz rails-e30699f66034405de0eaaad12066c2c7d266762f.tar.bz2 rails-e30699f66034405de0eaaad12066c2c7d266762f.zip |
Add geometric type for postgresql adapter. Closes #2233.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/postgresql.drop.sql | 1 | ||||
-rw-r--r-- | activerecord/test/fixtures/db_definitions/postgresql.sql | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/postgresql.drop.sql b/activerecord/test/fixtures/db_definitions/postgresql.drop.sql index b94343dc93..3a883e973f 100644 --- a/activerecord/test/fixtures/db_definitions/postgresql.drop.sql +++ b/activerecord/test/fixtures/db_definitions/postgresql.drop.sql @@ -25,3 +25,4 @@ DROP TABLE categories_posts; DROP TABLE defaults; DROP TABLE fk_test_has_fk; DROP TABLE fk_test_has_pk; +DROP TABLE geometrics; 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 +); |