[wellwell-devel] [wellwell] * added count columns
Git
wellwell-devel at rt.icdevgroup.org
Fri May 18 07:34:55 UTC 2012
commit 5df024e72b294132c97112133ac41986d01eaa37
Author: Jure Kodžoman <jure.kodzoman at informa.si>
Date: Wed Feb 8 09:47:00 2012 +0100
* added count columns
plugins/coupons/database/mysql/coupons.sql | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/coupons/database/mysql/coupons.sql b/plugins/coupons/database/mysql/coupons.sql
index 98a2638..aff2915 100644
--- a/plugins/coupons/database/mysql/coupons.sql
+++ b/plugins/coupons/database/mysql/coupons.sql
@@ -1,7 +1,8 @@
CREATE TABLE coupons (
code int NOT NULL auto_increment,
coupon_number varchar(32) not null default '',
- amount decimal(11,2) NOT NULL DEFAULT 0,
+ amount decimal(11,2) NOT NULL DEFAULT 0,
inactive boolean NOT NULL DEFAULT FALSE,
+ coupons int NOT NULL DEFAULT 1000000,
PRIMARY KEY(code)
);
More information about the wellwell-devel
mailing list