summaryrefslogtreecommitdiff
path: root/design
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2011-06-02 20:06:26 -0700
committerJesse Morgan <jesse@jesterpm.net ; true>2011-06-02 20:06:26 -0700
commit36d95e85868100b5b65b136f322b686566eaaffd (patch)
tree677ac8acc768088cf8f762cb4887314ae74eabdf /design
parent18a8041cac4ef0e29b5afe0176c78cea5c9f20dd (diff)
Fixed a couple bugs
Diffstat (limited to 'design')
-rw-r--r--design/database.sql7
1 files changed, 4 insertions, 3 deletions
diff --git a/design/database.sql b/design/database.sql
index 06b607c..475dac2 100644
--- a/design/database.sql
+++ b/design/database.sql
@@ -26,6 +26,7 @@ CREATE TABLE category (
id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
shortname VARCHAR(30) NOT NULL,
name VARCHAR(30) NOT NULL,
+ description VARCHAR(255) NOT NULL,
PRIMARY KEY(id)
);
@@ -93,11 +94,11 @@ CREATE TABLE page (
-- The following creates some sample data
INSERT INTO category (name, shortname) VALUES
+ ('Give', 'give'),
+ ('Needs', 'needs'),
('Jobs', 'jobs'),
('Housing', 'housing'),
- ('Events', 'events'),
- ('For Sale','forsale'),
- ('Needs', 'needs');
+ ('Events', 'events');
INSERT INTO source (name) VALUES ('Foursquare Church');