From 2c221ea67d0512961beea8fbcb30b23865c16bb0 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 20 Dec 2006 03:15:04 +0000 Subject: Add quickstart docs for Active Record and SqlMap --- tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql') diff --git a/tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql b/tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql index c254ae4d..5a1cdb2a 100644 --- a/tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql +++ b/tests/simple_unit/SqlMap/scripts/mysql/documents-init.sql @@ -1,16 +1,4 @@ -use IBatisNet; - -drop table if exists Documents; - -create table Documents -( - Document_Id int not null, - Document_Title varchar(32), - Document_Type varchar(32), - Document_PageNumber int, - Document_City varchar(32), - primary key (DOCUMENT_ID) -) TYPE=INNODB; +TRUNCATE `Documents`; INSERT INTO Documents VALUES (1, 'The World of Null-A', 'Book', 55, null); INSERT INTO Documents VALUES (2, 'Le Progres de Lyon', 'Newspaper', null , 'Lyon'); -- cgit v1.2.3