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/line-item-init.sql | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

(limited to 'tests/simple_unit/SqlMap/scripts/mysql/line-item-init.sql')

diff --git a/tests/simple_unit/SqlMap/scripts/mysql/line-item-init.sql b/tests/simple_unit/SqlMap/scripts/mysql/line-item-init.sql
index cb800835..b0f7e424 100644
--- a/tests/simple_unit/SqlMap/scripts/mysql/line-item-init.sql
+++ b/tests/simple_unit/SqlMap/scripts/mysql/line-item-init.sql
@@ -1,18 +1,5 @@
 
-use IBatisNet;
-
-drop table if exists LineItems;
-
-create table LineItems
-(
-   LineItem_Id                    int                            not null,
-   Order_Id                       int                            not null,
-   LineItem_Code                  varchar(32)                    not null,
-   LineItem_Quantity              int                            not null,
-   LineItem_Price                 decimal(18,2),
-   LineItem_Picture					blob,
-   primary key (Order_Id, LineItem_Id)
-) TYPE=INNODB;
+TRUNCATE `LineItems`;
 
 INSERT INTO LineItems VALUES (1, 10, 'ESM-34', 1, 45.43, null);
 INSERT INTO LineItems VALUES (2, 10, 'QSM-98', 8, 8.40, null);
-- 
cgit v1.2.3

