View | Details | Raw Unified | Return to bug 129312
Collapse All | Expand All

(-)phprecipebook/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	phprecipebook
8
PORTNAME=	phprecipebook
9
PORTVERSION=	2.38
9
PORTVERSION=	2.39
10
CATEGORIES=	www deskutils
10
CATEGORIES=	www deskutils
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF
12
12
(-)phprecipebook/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (phprecipebook-2.38.tar.gz) = 864ae8fb66213c2796fdd4b7a58a053d
1
MD5 (phprecipebook-2.39.tar.gz) = ca2d535f1d59440cb3b0ab1a4610f884
2
SHA256 (phprecipebook-2.38.tar.gz) = c05d53f849ef84a0b6690c6d20e3f703e215a7ef0a0b1990354ffe14bd34d2b3
2
SHA256 (phprecipebook-2.39.tar.gz) = c00aefe04cf99c6884c89a6e44b28062728c6007946e40fcd3fe93bdd86d0ecb
3
SIZE (phprecipebook-2.38.tar.gz) = 556970
3
SIZE (phprecipebook-2.39.tar.gz) = 589171
(-)phprecipebook/files/patch-sql-recipedb.mysql (-20 lines)
Lines 1-20 Link Here
1
--- sql/recipedb.mysql.orig	2007-03-31 20:22:08.000000000 +0200
2
+++ sql/recipedb.mysql	2007-09-27 17:10:02.000000000 +0200
3
@@ -154,7 +154,7 @@
4
 	PRIMARY KEY (meal_id));
5
 
6
 CREATE TABLE recipe_mealplans (
7
-	mplan_date DATE NOT NULL DEFAULT 'now()',
8
+	mplan_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
9
 	mplan_meal INT NOT NULL REFERENCES recipe_meals(meal_id) ON DELETE CASCADE,
10
 	mplan_recipe INT NOT NULL REFERENCES recipe_recipes(recipe_id) ON DELETE CASCADE,
11
 	mplan_servings INT NOT NULL DEFAULT 0,
12
@@ -164,7 +164,7 @@
13
 CREATE TABLE recipe_reviews (
14
 	review_recipe INT NOT NULL REFERENCES recipe_recipes(recipe_id) ON DELETE CASCADE,
15
 	review_comments VARCHAR(255) NOT NULL,
16
-	review_date TIMESTAMP DEFAULT 'now()',
17
+	review_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
18
 	review_owner VARCHAR(32) NOT NULL REFERENCES security_users(user_login) ON DELETE SET NULL ON UPDATE CASCADE,
19
 	PRIMARY KEY (review_recipe,review_comments,review_owner));
20

Return to bug 129312