diff options
author | Michael Koziarski <michael@koziarski.com> | 2006-01-14 09:36:52 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2006-01-14 09:36:52 +0000 |
commit | a471e6b4d741c498439767237efad9838df44834 (patch) | |
tree | 430eee828fff690cc1d1174f355e29d4822bfb4b /activerecord/test/fixtures/db_definitions/oci.sql | |
parent | 62d749ab0ef1787e050537bd9a6f833b30f1331d (diff) | |
download | rails-a471e6b4d741c498439767237efad9838df44834.tar.gz rails-a471e6b4d741c498439767237efad9838df44834.tar.bz2 rails-a471e6b4d741c498439767237efad9838df44834.zip |
allow the 'lock_version' column to be configured with set_locking_column. Closes #3402
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/oci.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/oci.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/oci.sql b/activerecord/test/fixtures/db_definitions/oci.sql index 832396d0c7..9995f4c85e 100644 --- a/activerecord/test/fixtures/db_definitions/oci.sql +++ b/activerecord/test/fixtures/db_definitions/oci.sql @@ -269,3 +269,10 @@ create table test_oci_defaults ( ); create sequence test_oci_defaults_seq minvalue 10000; +--This table has an altered lock_version column name. +create table legacy_things ( + id integer not null primary key, + tps_report_number integer default null, + version integer default 0 +); +create sequence legacy_things_seq minvalue 10000; |