[wellwell-devel] [wellwell] Add missing field inactive to database definition for coupons table.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Tue Jul 20 14:37:15 UTC 2010


commit a23fe13407531e7283077ca3ebc84d8fbc1a7fd3
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Tue Jul 20 16:36:50 2010 +0200

    Add missing field inactive to database definition for coupons table.

 plugins/coupons/database/mysql/coupons.sql |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/coupons/database/mysql/coupons.sql b/plugins/coupons/database/mysql/coupons.sql
index 6b7a038..98a2638 100644
--- a/plugins/coupons/database/mysql/coupons.sql
+++ b/plugins/coupons/database/mysql/coupons.sql
@@ -2,5 +2,6 @@ CREATE TABLE coupons (
 	code int NOT NULL auto_increment,
 	coupon_number varchar(32) not null default '',
     amount decimal(11,2) NOT NULL DEFAULT 0,
+	inactive boolean NOT NULL DEFAULT FALSE,
 	PRIMARY KEY(code)
 );



More information about the wellwell-devel mailing list