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/sqlite.sql | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

diff --git a/activerecord/test/fixtures/db_definitions/sqlite.sql b/activerecord/test/fixtures/db_definitions/sqlite.sql
index 9bab9d9a15..5c27832056 100644
--- a/activerecord/test/fixtures/db_definitions/sqlite.sql
+++ b/activerecord/test/fixtures/db_definitions/sqlite.sql
@@ -99,4 +99,8 @@ CREATE TABLE 'mixins' (
   'updated_at' DATETIME DEFAULT NULL
 );
 
-
+CREATE TABLE 'people' (
+  'id' INTEGER NOT NULL PRIMARY KEY,
+  'first_name' VARCHAR(40) DEFAULT NULL,
+  'lock_version' INTEGER NOT NULL DEFAULT 0
+);
\ No newline at end of file
-- 
cgit v1.2.3

