/usr/share/kde4/apps/kraft/dbmigrate/mysql/9_dbmigrate.sql is in kraft 0.53-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | # message add a document type id to text table
alter table DocTexts add column docTypeId int after docType;
# message populate the doc type id column in docTexts
update DocTexts set docTypeId=( SELECT docTypeID FROM DocTypes WHERE name=docType );
# message create a type column for the docposition
alter table docposition add column postype VARCHAR(64) AFTER text;
# message create type column for the archdocpos table
alter table archdocpos add column postype VARCHAR(64) AFTER kind;
|