aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-10-08 06:17:53 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-10-08 06:17:53 +0000
commit4eaa8ba5bec9001e97349e7dfd565c7215085834 (patch)
tree5ef58d001fcbb69b36f505fac7bb29d6ba4d4c5e /activerecord/test/fixtures
parent99c64829ce71ecf07b576960ea8ff01dfee61be7 (diff)
downloadrails-4eaa8ba5bec9001e97349e7dfd565c7215085834.tar.gz
rails-4eaa8ba5bec9001e97349e7dfd565c7215085834.tar.bz2
rails-4eaa8ba5bec9001e97349e7dfd565c7215085834.zip
PostgreSQL: support multiline default values. Closes #7533.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r--activerecord/test/fixtures/db_definitions/postgresql.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/db_definitions/postgresql.sql b/activerecord/test/fixtures/db_definitions/postgresql.sql
index 3b929e338c..5e38978e21 100644
--- a/activerecord/test/fixtures/db_definitions/postgresql.sql
+++ b/activerecord/test/fixtures/db_definitions/postgresql.sql
@@ -109,7 +109,8 @@ CREATE TABLE defaults (
char3 text default 'a text field',
positive_integer integer default 1,
negative_integer integer default -1,
- decimal_number decimal(3,2) default 2.78
+ decimal_number decimal(3,2) default 2.78,
+ multiline_default text DEFAULT E'--- []\n\n'::text
);
CREATE TABLE auto_id_tests (