Changeset c13a488 in confclerk_git


Ignore:
Timestamp:
07/21/21 20:15:50 (10 months ago)
Author:
Philipp Spitzer <philipp@…>
Branches:
master
Children:
0b4a1d0
Parents:
a5dc5eb
git-author:
Philipp Spitzer <philipp@…> (07/21/21 19:54:38)
git-committer:
Philipp Spitzer <philipp@…> (07/21/21 20:15:50)
Message:

Add utc_offset and display_time_shift columns to conference database.

Location:
src
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/db.qrc

    ra5dc5eb rc13a488  
    11<!DOCTYPE RCC><RCC version="1.0">
    22<qresource>
    3     <file>dbschema001.sql</file>
    43    <file>dbschema000to001.sql</file>
     4    <file>dbschema001to002.sql</file>
     5    <file>dbschema002.sql</file>
    56</qresource>
    67</RCC>
    7 
  • src/sql/sqlengine.cpp

    ra5dc5eb rc13a488  
    9292
    9393
     94bool SqlEngine::updateDbSchemaVersion001To002() {
     95    return applySqlFile(":/dbschema001to002.sql");
     96}
     97
     98
    9499bool SqlEngine::createCurrentDbSchema() {
    95     return applySqlFile(":/dbschema001.sql");
     100    return applySqlFile(":/dbschema002.sql");
    96101}
    97102
     
    110115        return updateDbSchemaVersion000To001();
    111116    case 1:
     117        // db schema version 1
     118        return updateDbSchemaVersion001To002();
     119    case 2:
    112120        // current schema
    113121        return true;
  • src/sql/sqlengine.h

    ra5dc5eb rc13a488  
    5151        /// called by createOrUpdateDbSchema. Do not use directly. true for success.
    5252        bool updateDbSchemaVersion000To001();
     53        bool updateDbSchemaVersion001To002();
    5354        /// called by createOrUpdateDbSchma. Do not use directly. true for success.
    5455        bool createCurrentDbSchema();
Note: See TracChangeset for help on using the changeset viewer.