From fbf9281f0e3ced714bc534821c8b241ed7ec358e Mon Sep 17 00:00:00 2001
From: David Heinemeier Hansson <david@loudthinking.com>
Date: Fri, 31 Dec 2004 19:38:04 +0000
Subject: Added automated optimistic locking if the field lock_version is
 present #384 [Michael Koziarski]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
---
 activerecord/test/fixtures/db_definitions/mysql.sql | 6 ++++++
 1 file changed, 6 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 7bd06e6243..ec27a52445 100755
--- a/activerecord/test/fixtures/db_definitions/mysql.sql
+++ b/activerecord/test/fixtures/db_definitions/mysql.sql
@@ -110,3 +110,9 @@ CREATE TABLE `mixins` (
   `type` varchar(40) default NULL,
   PRIMARY KEY  (`id`)
 );
+
+CREATE TABLE `people` (
+  `id` INTEGER NOT NULL PRIMARY KEY,
+  `first_name` VARCHAR(40) NOT NULL,
+  `lock_version` INTEGER NOT NULL DEFAULT 0
+);
\ No newline at end of file
-- 
cgit v1.2.3

