1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Update to 2.39

PR:		129312
Submitted by:	Guido Falsi <mad@madpilot.net> (maintainer)
This commit is contained in:
Martin Wilke 2008-12-04 19:58:30 +00:00
parent fe734c87c5
commit aa2d879a50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223776
3 changed files with 4 additions and 24 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= phprecipebook
PORTVERSION= 2.38
PORTVERSION= 2.39
CATEGORIES= www deskutils
MASTER_SITES= SF

View File

@ -1,3 +1,3 @@
MD5 (phprecipebook-2.38.tar.gz) = 864ae8fb66213c2796fdd4b7a58a053d
SHA256 (phprecipebook-2.38.tar.gz) = c05d53f849ef84a0b6690c6d20e3f703e215a7ef0a0b1990354ffe14bd34d2b3
SIZE (phprecipebook-2.38.tar.gz) = 556970
MD5 (phprecipebook-2.39.tar.gz) = ca2d535f1d59440cb3b0ab1a4610f884
SHA256 (phprecipebook-2.39.tar.gz) = c00aefe04cf99c6884c89a6e44b28062728c6007946e40fcd3fe93bdd86d0ecb
SIZE (phprecipebook-2.39.tar.gz) = 589171

View File

@ -1,20 +0,0 @@
--- sql/recipedb.mysql.orig 2007-03-31 20:22:08.000000000 +0200
+++ sql/recipedb.mysql 2007-09-27 17:10:02.000000000 +0200
@@ -154,7 +154,7 @@
PRIMARY KEY (meal_id));
CREATE TABLE recipe_mealplans (
- mplan_date DATE NOT NULL DEFAULT 'now()',
+ mplan_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
mplan_meal INT NOT NULL REFERENCES recipe_meals(meal_id) ON DELETE CASCADE,
mplan_recipe INT NOT NULL REFERENCES recipe_recipes(recipe_id) ON DELETE CASCADE,
mplan_servings INT NOT NULL DEFAULT 0,
@@ -164,7 +164,7 @@
CREATE TABLE recipe_reviews (
review_recipe INT NOT NULL REFERENCES recipe_recipes(recipe_id) ON DELETE CASCADE,
review_comments VARCHAR(255) NOT NULL,
- review_date TIMESTAMP DEFAULT 'now()',
+ review_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
review_owner VARCHAR(32) NOT NULL REFERENCES security_users(user_login) ON DELETE SET NULL ON UPDATE CASCADE,
PRIMARY KEY (review_recipe,review_comments,review_owner));