diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-14 04:51:54 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-11-14 04:51:54 +0000 |
commit | d28e9aef5f7ea4a0432c154f2a3f89f28edcc4ba (patch) | |
tree | c7417d68caa8aa77753516e78731b6465005baf8 /activerecord/test/fixtures | |
parent | d8f5ccab1cf8c660849df299c1fe1ead58e83c95 (diff) | |
download | rails-d28e9aef5f7ea4a0432c154f2a3f89f28edcc4ba.tar.gz rails-d28e9aef5f7ea4a0432c154f2a3f89f28edcc4ba.tar.bz2 rails-d28e9aef5f7ea4a0432c154f2a3f89f28edcc4ba.zip |
Oracle: test case for column default parsing. References #2788.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/oci.sql | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/oci.sql b/activerecord/test/fixtures/db_definitions/oci.sql index cedd92ad53..832396d0c7 100644 --- a/activerecord/test/fixtures/db_definitions/oci.sql +++ b/activerecord/test/fixtures/db_definitions/oci.sql @@ -261,3 +261,11 @@ create table keyboards ( ); create sequence keyboards_seq minvalue 10000; +create table test_oci_defaults ( + id integer not null primary key, + test_char char(1) default 'X' not null, + test_string varchar2(20) default 'hello' not null, + test_int integer default 3 not null +); +create sequence test_oci_defaults_seq minvalue 10000; + |