/*
* Copyright (C) 2010 Ixonos Plc.
- * Copyright (C) 2011-2017 Philipp Spitzer, gregor herrmann, Stefan Stahl
+ * Copyright (C) 2011-2021 Philipp Spitzer, gregor herrmann, Stefan Stahl
*
* This file is part of ConfClerk.
*
int dbSchemaVersion();
/// called by createOrUpdateDbSchema. Do not use directly. true for success.
bool updateDbSchemaVersion000To001();
+ bool updateDbSchemaVersion001To002();
/// called by createOrUpdateDbSchma. Do not use directly. true for success.
bool createCurrentDbSchema();
/// creates the current database schema if an empty database is found,
/// Applies an SQL file
bool applySqlFile(const QString sqlFile);
- // if a conferneceId != 0 is given, the confernce is updated instead of inserted.
- void addConferenceToDB(QHash<QString,QString> &aConference, int conferenceId);
+ // if a conferenceId != 0 is given, the conference is updated instead of inserted.
+ void addConferenceToDB(QHash<QString,QString> &aConference, int conferenceId, bool omit_display_time_shift = false);
void addEventToDB(QHash<QString,QString> &aEvent);
void addPersonToDB(QHash<QString,QString> &aPerson);
void addLinkToDB(QHash<QString,QString> &aLink);