From a471e6b4d741c498439767237efad9838df44834 Mon Sep 17 00:00:00 2001
From: Michael Koziarski <michael@koziarski.com>
Date: Sat, 14 Jan 2006 09:36:52 +0000
Subject: 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
---
 activerecord/test/fixtures/db_definitions/mysql.sql | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'activerecord/test/fixtures/db_definitions/mysql.sql')

diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql
index d9b98042ae..83479393f4 100755
--- a/activerecord/test/fixtures/db_definitions/mysql.sql
+++ b/activerecord/test/fixtures/db_definitions/mysql.sql
@@ -197,3 +197,11 @@ CREATE TABLE `keyboards` (
   `key_number` int(11) NOT NULL auto_increment primary key,
   `name` varchar(50) default NULL
 );
+
+--Altered lock_version column name.
+CREATE TABLE `legacy_things` (
+  `id` int(11) NOT NULL auto_increment,
+  `tps_report_number` int(11) default NULL,
+  `version` int(11) NOT NULL default 0,
+  PRIMARY KEY  (`id`)
+) TYPE=InnoDB;
-- 
cgit v1.2.3

