Initial checkin.

Signed-off-by: Thomas Hochstein <thh@thh.name>
This commit is contained in:
Thomas Hochstein 2022-01-29 10:22:11 +01:00
commit 30132626b8
68 changed files with 5497 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#
# $Id: update-0.08-0.09.sql 145 2009-10-11 20:00:45Z alba $
#
# Update from version 0.08 to 0.09
# First use create.sql to create table @sample@_reply
# Copy column Answer to table @sample@_reply
INSERT INTO @sample@_reply
(article_id, reply_date, reply_message)
SELECT a.id, IFNULL(a.Moddatum, NOW()), a.answer
FROM @sample@ a
WHERE a.answer is not null;
# Drop column Answer
ALTER TABLE @sample@ DROP COLUMN answer;