core: Separate SQL current and upgrade scripts
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 16 Apr 2017 05:50:33 +0000 (00:50 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Apr 2017 19:53:17 +0000 (21:53 +0200)
commit3cf5c49e7753be48a994917fe898730add4292b1
tree5e28749598afb8de0707913a9fff492bddb038d8
parente4fc79c07f5301ce2c7888e709ada0945b675c4f
core: Separate SQL current and upgrade scripts

Move the current SQL queries into the 'SQL/[database]' top folder,
move all database schema upgrade scripts into the
'SQL/[database]/version/##' subfolders.  This preserves repository
history for the general SQL queries when adding a new schema version,
and simplifies rebasing a branch if the master schema version changes
in the meantime (e.g. managing multiple pull requests).

Thanks to justJanne and others for the suggestion!

Update 'sql.qrc' with the moved SQL files.

Modify AbstractSqlStorage 'setupQueries()' and 'upgradeQueries()' to
use these new folder locations, and modify 'queryString()' to pick
either the current SQL schema folder or the versioned schema folder
according to whether a version was specified when calling it.

Update 'updateSQLResource.sh' with the new folder locations,
including fixing the 'sort' command to sort independent of the
current operating system language settings.

Update 'upgradeSchema.sh' with the new locations and stop moving the
non-upgrade '*.sql' scripts.  Now, it just adds a new folder and
prints a message on how to use it.  Also send error messages to
standard error.

Add more documentation on schema upgrades.  You can never have enough
testing...
276 files changed:
src/core/SQL/PostgreSQL/delete_backlog_by_uid.sql [moved from src/core/SQL/PostgreSQL/20/delete_backlog_by_uid.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_backlog_for_buffer.sql [moved from src/core/SQL/PostgreSQL/20/delete_backlog_for_buffer.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_backlog_for_network.sql [moved from src/core/SQL/PostgreSQL/20/delete_backlog_for_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_buffer_for_bufferid.sql [moved from src/core/SQL/PostgreSQL/20/delete_buffer_for_bufferid.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_buffers_by_uid.sql [moved from src/core/SQL/PostgreSQL/20/delete_buffers_by_uid.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_buffers_for_network.sql [moved from src/core/SQL/PostgreSQL/20/delete_buffers_for_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_identity.sql [moved from src/core/SQL/PostgreSQL/20/delete_identity.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_ircservers_for_network.sql [moved from src/core/SQL/PostgreSQL/20/delete_ircservers_for_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_network.sql [moved from src/core/SQL/PostgreSQL/20/delete_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_networks_by_uid.sql [moved from src/core/SQL/PostgreSQL/20/delete_networks_by_uid.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_nicks.sql [moved from src/core/SQL/PostgreSQL/20/delete_nicks.sql with 100% similarity]
src/core/SQL/PostgreSQL/delete_quasseluser.sql [moved from src/core/SQL/PostgreSQL/20/delete_quasseluser.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_buffer.sql [moved from src/core/SQL/PostgreSQL/20/insert_buffer.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_identity.sql [moved from src/core/SQL/PostgreSQL/20/insert_identity.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_message.sql [moved from src/core/SQL/PostgreSQL/20/insert_message.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_network.sql [moved from src/core/SQL/PostgreSQL/20/insert_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_nick.sql [moved from src/core/SQL/PostgreSQL/20/insert_nick.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_quasseluser.sql [moved from src/core/SQL/PostgreSQL/20/insert_quasseluser.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_sender.sql [moved from src/core/SQL/PostgreSQL/20/insert_sender.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_server.sql [moved from src/core/SQL/PostgreSQL/20/insert_server.sql with 100% similarity]
src/core/SQL/PostgreSQL/insert_user_setting.sql [moved from src/core/SQL/PostgreSQL/20/insert_user_setting.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_backlog.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_backlog.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_buffer.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_buffer.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_identity.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_identity.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_identity_nick.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_identity_nick.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_ircserver.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_ircserver.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_network.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_quasseluser.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_quasseluser.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_sender.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_sender.sql with 100% similarity]
src/core/SQL/PostgreSQL/migrate_write_usersetting.sql [moved from src/core/SQL/PostgreSQL/20/migrate_write_usersetting.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_authuser.sql [moved from src/core/SQL/PostgreSQL/20/select_authuser.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_bufferByName.sql [moved from src/core/SQL/PostgreSQL/20/select_bufferByName.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_bufferExists.sql [moved from src/core/SQL/PostgreSQL/20/select_bufferExists.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_buffer_by_id.sql [moved from src/core/SQL/PostgreSQL/20/select_buffer_by_id.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_buffer_lastseen_messages.sql [moved from src/core/SQL/PostgreSQL/20/select_buffer_lastseen_messages.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_buffer_markerlinemsgids.sql [moved from src/core/SQL/PostgreSQL/20/select_buffer_markerlinemsgids.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_buffers.sql [moved from src/core/SQL/PostgreSQL/20/select_buffers.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_buffers_for_network.sql [moved from src/core/SQL/PostgreSQL/20/select_buffers_for_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_checkidentity.sql [moved from src/core/SQL/PostgreSQL/20/select_checkidentity.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_connected_networks.sql [moved from src/core/SQL/PostgreSQL/20/select_connected_networks.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_identities.sql [moved from src/core/SQL/PostgreSQL/20/select_identities.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_internaluser.sql [moved from src/core/SQL/PostgreSQL/20/select_internaluser.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_messagesAll.sql [moved from src/core/SQL/PostgreSQL/20/select_messagesAll.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_messagesAllNew.sql [moved from src/core/SQL/PostgreSQL/20/select_messagesAllNew.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_messagesNewerThan.sql [moved from src/core/SQL/PostgreSQL/20/select_messagesNewerThan.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_messagesNewestK.sql [moved from src/core/SQL/PostgreSQL/20/select_messagesNewestK.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_messagesRange.sql [moved from src/core/SQL/PostgreSQL/20/select_messagesRange.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_networkExists.sql [moved from src/core/SQL/PostgreSQL/20/select_networkExists.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_network_awaymsg.sql [moved from src/core/SQL/PostgreSQL/20/select_network_awaymsg.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_network_usermode.sql [moved from src/core/SQL/PostgreSQL/20/select_network_usermode.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_networks_for_user.sql [moved from src/core/SQL/PostgreSQL/20/select_networks_for_user.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_nicks.sql [moved from src/core/SQL/PostgreSQL/20/select_nicks.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_persistent_channels.sql [moved from src/core/SQL/PostgreSQL/20/select_persistent_channels.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_senderid.sql [moved from src/core/SQL/PostgreSQL/20/select_senderid.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_servers_for_network.sql [moved from src/core/SQL/PostgreSQL/20/select_servers_for_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_user_setting.sql [moved from src/core/SQL/PostgreSQL/20/select_user_setting.sql with 100% similarity]
src/core/SQL/PostgreSQL/select_userid.sql [moved from src/core/SQL/PostgreSQL/20/select_userid.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_000_quasseluser.sql [moved from src/core/SQL/PostgreSQL/20/setup_000_quasseluser.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_010_sender.sql [moved from src/core/SQL/PostgreSQL/20/setup_010_sender.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_020_identity.sql [moved from src/core/SQL/PostgreSQL/20/setup_020_identity.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_030_identity_nick.sql [moved from src/core/SQL/PostgreSQL/20/setup_030_identity_nick.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_040_network.sql [moved from src/core/SQL/PostgreSQL/20/setup_040_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_050_buffer.sql [moved from src/core/SQL/PostgreSQL/20/setup_050_buffer.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_060_backlog.sql [moved from src/core/SQL/PostgreSQL/20/setup_060_backlog.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_070_coreinfo.sql [moved from src/core/SQL/PostgreSQL/20/setup_070_coreinfo.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_080_ircservers.sql [moved from src/core/SQL/PostgreSQL/20/setup_080_ircservers.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_090_backlog_idx.sql [moved from src/core/SQL/PostgreSQL/20/setup_090_backlog_idx.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_100_user_setting.sql [moved from src/core/SQL/PostgreSQL/20/setup_100_user_setting.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_110_alter_sender_seq.sql [moved from src/core/SQL/PostgreSQL/20/setup_110_alter_sender_seq.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_120_alter_messageid_seq.sql [moved from src/core/SQL/PostgreSQL/20/setup_120_alter_messageid_seq.sql with 100% similarity]
src/core/SQL/PostgreSQL/setup_130_function_lastmsgid.sql [moved from src/core/SQL/PostgreSQL/20/setup_130_function_lastmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_backlog_bufferid.sql [moved from src/core/SQL/PostgreSQL/20/update_backlog_bufferid.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_lastmsgid.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_lastmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_lastseen.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_lastseen.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_markerlinemsgid.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_markerlinemsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_name.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_name.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_persistent_channel.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_persistent_channel.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_buffer_set_channel_key.sql [moved from src/core/SQL/PostgreSQL/20/update_buffer_set_channel_key.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_identity.sql [moved from src/core/SQL/PostgreSQL/20/update_identity.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_network.sql [moved from src/core/SQL/PostgreSQL/20/update_network.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_network_connected.sql [moved from src/core/SQL/PostgreSQL/20/update_network_connected.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_network_set_awaymsg.sql [moved from src/core/SQL/PostgreSQL/20/update_network_set_awaymsg.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_network_set_usermode.sql [moved from src/core/SQL/PostgreSQL/20/update_network_set_usermode.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_user_setting.sql [moved from src/core/SQL/PostgreSQL/20/update_user_setting.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_username.sql [moved from src/core/SQL/PostgreSQL/20/update_username.sql with 100% similarity]
src/core/SQL/PostgreSQL/update_userpassword.sql [moved from src/core/SQL/PostgreSQL/20/update_userpassword.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/15/upgrade_000_alter_buffer_add_markerlinemsgid.sql [moved from src/core/SQL/PostgreSQL/15/upgrade_000_alter_buffer_add_markerlinemsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/16/upgrade_000_alter_network_add_sasl.sql [moved from src/core/SQL/PostgreSQL/16/upgrade_000_alter_network_add_sasl.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/17/upgrade_000_alter_quasseluser_add_passwordversion.sql [moved from src/core/SQL/PostgreSQL/17/upgrade_000_alter_quasseluser_add_passwordversion.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/18/upgrade_000_alter_ircserver_add_sslverify.sql [moved from src/core/SQL/PostgreSQL/18/upgrade_000_alter_ircserver_add_sslverify.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/19/upgrade_000_alter_network_add_ratelimit_usecustom.sql [moved from src/core/SQL/PostgreSQL/19/upgrade_000_alter_network_add_ratelimit_usecustom.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/19/upgrade_001_alter_network_add_ratelimit_burstsize.sql [moved from src/core/SQL/PostgreSQL/19/upgrade_001_alter_network_add_ratelimit_burstsize.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/19/upgrade_002_alter_network_add_ratelimit_delay.sql [moved from src/core/SQL/PostgreSQL/19/upgrade_002_alter_network_add_ratelimit_delay.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/19/upgrade_003_alter_network_add_ratelimit_unlimited.sql [moved from src/core/SQL/PostgreSQL/19/upgrade_003_alter_network_add_ratelimit_unlimited.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/20/upgrade_000_alter_buffer_add_lastmsgid.sql [moved from src/core/SQL/PostgreSQL/20/upgrade_000_alter_buffer_add_lastmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/20/upgrade_001_add_function_populate_lastmsgid.sql [moved from src/core/SQL/PostgreSQL/20/upgrade_001_add_function_populate_lastmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/20/upgrade_002_run_function_populate_lastmsgid.sql [moved from src/core/SQL/PostgreSQL/20/upgrade_002_run_function_populate_lastmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/20/upgrade_003_correct_bad_lastseenmsgid.sql [moved from src/core/SQL/PostgreSQL/20/upgrade_003_correct_bad_lastseenmsgid.sql with 100% similarity]
src/core/SQL/PostgreSQL/version/20/upgrade_004_add_lastseenmsgid_constraint.sql [moved from src/core/SQL/PostgreSQL/20/upgrade_004_add_lastseenmsgid_constraint.sql with 100% similarity]
src/core/SQL/SQLite/delete_backlog_by_uid.sql [moved from src/core/SQL/SQLite/21/delete_backlog_by_uid.sql with 100% similarity]
src/core/SQL/SQLite/delete_backlog_for_buffer.sql [moved from src/core/SQL/SQLite/21/delete_backlog_for_buffer.sql with 100% similarity]
src/core/SQL/SQLite/delete_backlog_for_network.sql [moved from src/core/SQL/SQLite/21/delete_backlog_for_network.sql with 100% similarity]
src/core/SQL/SQLite/delete_buffer_for_bufferid.sql [moved from src/core/SQL/SQLite/21/delete_buffer_for_bufferid.sql with 100% similarity]
src/core/SQL/SQLite/delete_buffers_by_uid.sql [moved from src/core/SQL/SQLite/21/delete_buffers_by_uid.sql with 100% similarity]
src/core/SQL/SQLite/delete_buffers_for_network.sql [moved from src/core/SQL/SQLite/21/delete_buffers_for_network.sql with 100% similarity]
src/core/SQL/SQLite/delete_identity.sql [moved from src/core/SQL/SQLite/21/delete_identity.sql with 100% similarity]
src/core/SQL/SQLite/delete_ircservers_for_network.sql [moved from src/core/SQL/SQLite/21/delete_ircservers_for_network.sql with 100% similarity]
src/core/SQL/SQLite/delete_network.sql [moved from src/core/SQL/SQLite/21/delete_network.sql with 100% similarity]
src/core/SQL/SQLite/delete_networks_by_uid.sql [moved from src/core/SQL/SQLite/21/delete_networks_by_uid.sql with 100% similarity]
src/core/SQL/SQLite/delete_nicks.sql [moved from src/core/SQL/SQLite/21/delete_nicks.sql with 100% similarity]
src/core/SQL/SQLite/delete_quasseluser.sql [moved from src/core/SQL/SQLite/21/delete_quasseluser.sql with 100% similarity]
src/core/SQL/SQLite/insert_buffer.sql [moved from src/core/SQL/SQLite/21/insert_buffer.sql with 100% similarity]
src/core/SQL/SQLite/insert_identity.sql [moved from src/core/SQL/SQLite/21/insert_identity.sql with 100% similarity]
src/core/SQL/SQLite/insert_message.sql [moved from src/core/SQL/SQLite/21/insert_message.sql with 100% similarity]
src/core/SQL/SQLite/insert_network.sql [moved from src/core/SQL/SQLite/21/insert_network.sql with 100% similarity]
src/core/SQL/SQLite/insert_nick.sql [moved from src/core/SQL/SQLite/21/insert_nick.sql with 100% similarity]
src/core/SQL/SQLite/insert_quasseluser.sql [moved from src/core/SQL/SQLite/21/insert_quasseluser.sql with 100% similarity]
src/core/SQL/SQLite/insert_sender.sql [moved from src/core/SQL/SQLite/21/insert_sender.sql with 100% similarity]
src/core/SQL/SQLite/insert_server.sql [moved from src/core/SQL/SQLite/21/insert_server.sql with 100% similarity]
src/core/SQL/SQLite/insert_user_setting.sql [moved from src/core/SQL/SQLite/21/insert_user_setting.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_backlog.sql [moved from src/core/SQL/SQLite/21/migrate_read_backlog.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_buffer.sql [moved from src/core/SQL/SQLite/21/migrate_read_buffer.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_identity.sql [moved from src/core/SQL/SQLite/21/migrate_read_identity.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_identity_nick.sql [moved from src/core/SQL/SQLite/21/migrate_read_identity_nick.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_ircserver.sql [moved from src/core/SQL/SQLite/21/migrate_read_ircserver.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_network.sql [moved from src/core/SQL/SQLite/21/migrate_read_network.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_quasseluser.sql [moved from src/core/SQL/SQLite/21/migrate_read_quasseluser.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_sender.sql [moved from src/core/SQL/SQLite/21/migrate_read_sender.sql with 100% similarity]
src/core/SQL/SQLite/migrate_read_usersetting.sql [moved from src/core/SQL/SQLite/21/migrate_read_usersetting.sql with 100% similarity]
src/core/SQL/SQLite/select_authuser.sql [moved from src/core/SQL/SQLite/21/select_authuser.sql with 100% similarity]
src/core/SQL/SQLite/select_bufferByName.sql [moved from src/core/SQL/SQLite/21/select_bufferByName.sql with 100% similarity]
src/core/SQL/SQLite/select_bufferExists.sql [moved from src/core/SQL/SQLite/21/select_bufferExists.sql with 100% similarity]
src/core/SQL/SQLite/select_buffer_by_id.sql [moved from src/core/SQL/SQLite/21/select_buffer_by_id.sql with 100% similarity]
src/core/SQL/SQLite/select_buffer_lastseen_messages.sql [moved from src/core/SQL/SQLite/21/select_buffer_lastseen_messages.sql with 100% similarity]
src/core/SQL/SQLite/select_buffer_markerlinemsgids.sql [moved from src/core/SQL/SQLite/21/select_buffer_markerlinemsgids.sql with 100% similarity]
src/core/SQL/SQLite/select_buffers.sql [moved from src/core/SQL/SQLite/21/select_buffers.sql with 100% similarity]
src/core/SQL/SQLite/select_buffers_for_merge.sql [moved from src/core/SQL/SQLite/21/select_buffers_for_merge.sql with 100% similarity]
src/core/SQL/SQLite/select_buffers_for_network.sql [moved from src/core/SQL/SQLite/21/select_buffers_for_network.sql with 100% similarity]
src/core/SQL/SQLite/select_checkidentity.sql [moved from src/core/SQL/SQLite/21/select_checkidentity.sql with 100% similarity]
src/core/SQL/SQLite/select_connected_networks.sql [moved from src/core/SQL/SQLite/21/select_connected_networks.sql with 100% similarity]
src/core/SQL/SQLite/select_identities.sql [moved from src/core/SQL/SQLite/21/select_identities.sql with 100% similarity]
src/core/SQL/SQLite/select_internaluser.sql [moved from src/core/SQL/SQLite/21/select_internaluser.sql with 100% similarity]
src/core/SQL/SQLite/select_messagesAll.sql [moved from src/core/SQL/SQLite/21/select_messagesAll.sql with 100% similarity]
src/core/SQL/SQLite/select_messagesAllNew.sql [moved from src/core/SQL/SQLite/21/select_messagesAllNew.sql with 100% similarity]
src/core/SQL/SQLite/select_messagesNewerThan.sql [moved from src/core/SQL/SQLite/21/select_messagesNewerThan.sql with 100% similarity]
src/core/SQL/SQLite/select_messagesNewestK.sql [moved from src/core/SQL/SQLite/21/select_messagesNewestK.sql with 100% similarity]
src/core/SQL/SQLite/select_messagesRange.sql [moved from src/core/SQL/SQLite/21/select_messagesRange.sql with 100% similarity]
src/core/SQL/SQLite/select_networkExists.sql [moved from src/core/SQL/SQLite/21/select_networkExists.sql with 100% similarity]
src/core/SQL/SQLite/select_network_awaymsg.sql [moved from src/core/SQL/SQLite/21/select_network_awaymsg.sql with 100% similarity]
src/core/SQL/SQLite/select_network_usermode.sql [moved from src/core/SQL/SQLite/21/select_network_usermode.sql with 100% similarity]
src/core/SQL/SQLite/select_networks_for_user.sql [moved from src/core/SQL/SQLite/21/select_networks_for_user.sql with 100% similarity]
src/core/SQL/SQLite/select_nicks.sql [moved from src/core/SQL/SQLite/21/select_nicks.sql with 100% similarity]
src/core/SQL/SQLite/select_persistent_channels.sql [moved from src/core/SQL/SQLite/21/select_persistent_channels.sql with 100% similarity]
src/core/SQL/SQLite/select_servers_for_network.sql [moved from src/core/SQL/SQLite/21/select_servers_for_network.sql with 100% similarity]
src/core/SQL/SQLite/select_user_setting.sql [moved from src/core/SQL/SQLite/21/select_user_setting.sql with 100% similarity]
src/core/SQL/SQLite/select_userid.sql [moved from src/core/SQL/SQLite/21/select_userid.sql with 100% similarity]
src/core/SQL/SQLite/setup_000_quasseluser.sql [moved from src/core/SQL/SQLite/21/setup_000_quasseluser.sql with 100% similarity]
src/core/SQL/SQLite/setup_010_sender.sql [moved from src/core/SQL/SQLite/21/setup_010_sender.sql with 100% similarity]
src/core/SQL/SQLite/setup_020_network.sql [moved from src/core/SQL/SQLite/21/setup_020_network.sql with 100% similarity]
src/core/SQL/SQLite/setup_030_buffer.sql [moved from src/core/SQL/SQLite/21/setup_030_buffer.sql with 100% similarity]
src/core/SQL/SQLite/setup_040_buffer_idx.sql [moved from src/core/SQL/SQLite/21/setup_040_buffer_idx.sql with 100% similarity]
src/core/SQL/SQLite/setup_050_buffer_cname_idx.sql [moved from src/core/SQL/SQLite/21/setup_050_buffer_cname_idx.sql with 100% similarity]
src/core/SQL/SQLite/setup_060_backlog.sql [moved from src/core/SQL/SQLite/21/setup_060_backlog.sql with 100% similarity]
src/core/SQL/SQLite/setup_070_coreinfo.sql [moved from src/core/SQL/SQLite/21/setup_070_coreinfo.sql with 100% similarity]
src/core/SQL/SQLite/setup_080_ircservers.sql [moved from src/core/SQL/SQLite/21/setup_080_ircservers.sql with 100% similarity]
src/core/SQL/SQLite/setup_090_backlog_idx.sql [moved from src/core/SQL/SQLite/21/setup_090_backlog_idx.sql with 100% similarity]
src/core/SQL/SQLite/setup_100_backlog_idx2.sql [moved from src/core/SQL/SQLite/21/setup_100_backlog_idx2.sql with 100% similarity]
src/core/SQL/SQLite/setup_110_buffer_user_idx.sql [moved from src/core/SQL/SQLite/21/setup_110_buffer_user_idx.sql with 100% similarity]
src/core/SQL/SQLite/setup_120_user_setting.sql [moved from src/core/SQL/SQLite/21/setup_120_user_setting.sql with 100% similarity]
src/core/SQL/SQLite/setup_130_identity.sql [moved from src/core/SQL/SQLite/21/setup_130_identity.sql with 100% similarity]
src/core/SQL/SQLite/setup_140_identity_nick.sql [moved from src/core/SQL/SQLite/21/setup_140_identity_nick.sql with 100% similarity]
src/core/SQL/SQLite/update_backlog_bufferid.sql [moved from src/core/SQL/SQLite/21/update_backlog_bufferid.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_lastmsgid.sql [moved from src/core/SQL/SQLite/21/update_buffer_lastmsgid.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_lastseen.sql [moved from src/core/SQL/SQLite/21/update_buffer_lastseen.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_markerlinemsgid.sql [moved from src/core/SQL/SQLite/21/update_buffer_markerlinemsgid.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_name.sql [moved from src/core/SQL/SQLite/21/update_buffer_name.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_persistent_channel.sql [moved from src/core/SQL/SQLite/21/update_buffer_persistent_channel.sql with 100% similarity]
src/core/SQL/SQLite/update_buffer_set_channel_key.sql [moved from src/core/SQL/SQLite/21/update_buffer_set_channel_key.sql with 100% similarity]
src/core/SQL/SQLite/update_identity.sql [moved from src/core/SQL/SQLite/21/update_identity.sql with 100% similarity]
src/core/SQL/SQLite/update_network.sql [moved from src/core/SQL/SQLite/21/update_network.sql with 100% similarity]
src/core/SQL/SQLite/update_network_connected.sql [moved from src/core/SQL/SQLite/21/update_network_connected.sql with 100% similarity]
src/core/SQL/SQLite/update_network_set_awaymsg.sql [moved from src/core/SQL/SQLite/21/update_network_set_awaymsg.sql with 100% similarity]
src/core/SQL/SQLite/update_network_set_usermode.sql [moved from src/core/SQL/SQLite/21/update_network_set_usermode.sql with 100% similarity]
src/core/SQL/SQLite/update_user_setting.sql [moved from src/core/SQL/SQLite/21/update_user_setting.sql with 100% similarity]
src/core/SQL/SQLite/update_username.sql [moved from src/core/SQL/SQLite/21/update_username.sql with 100% similarity]
src/core/SQL/SQLite/update_userpassword.sql [moved from src/core/SQL/SQLite/21/update_userpassword.sql with 100% similarity]
src/core/SQL/SQLite/version/1/upgrade_000_drop_coreinfo.sql [moved from src/core/SQL/SQLite/1/upgrade_000_drop_coreinfo.sql with 100% similarity]
src/core/SQL/SQLite/version/1/upgrade_010_create_coreinfo.sql [moved from src/core/SQL/SQLite/1/upgrade_010_create_coreinfo.sql with 100% similarity]
src/core/SQL/SQLite/version/1/upgrade_020_update_schemaversion.sql [moved from src/core/SQL/SQLite/1/upgrade_020_update_schemaversion.sql with 100% similarity]
src/core/SQL/SQLite/version/10/upgrade_000_switch_to_msgid.sql [moved from src/core/SQL/SQLite/10/upgrade_000_switch_to_msgid.sql with 100% similarity]
src/core/SQL/SQLite/version/10/upgrade_010_rename_buffer_table.sql [moved from src/core/SQL/SQLite/10/upgrade_010_rename_buffer_table.sql with 100% similarity]
src/core/SQL/SQLite/version/10/upgrade_020_create_buffer_table.sql [moved from src/core/SQL/SQLite/10/upgrade_020_create_buffer_table.sql with 100% similarity]
src/core/SQL/SQLite/version/10/upgrade_030_copy_buffer_table.sql [moved from src/core/SQL/SQLite/10/upgrade_030_copy_buffer_table.sql with 100% similarity]
src/core/SQL/SQLite/version/10/upgrade_040_drop_buffer_old_table.sql [moved from src/core/SQL/SQLite/10/upgrade_040_drop_buffer_old_table.sql with 100% similarity]
src/core/SQL/SQLite/version/11/upgrade_000_create_user_setting.sql [moved from src/core/SQL/SQLite/11/upgrade_000_create_user_setting.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_000_create_identity.sql [moved from src/core/SQL/SQLite/12/upgrade_000_create_identity.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_010_create_identity_nick.sql [moved from src/core/SQL/SQLite/12/upgrade_010_create_identity_nick.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_020_rename_servertable.sql [moved from src/core/SQL/SQLite/12/upgrade_020_rename_servertable.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_030_create_ircserver.sql [moved from src/core/SQL/SQLite/12/upgrade_030_create_ircserver.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_040_copy_ircserver.sql [moved from src/core/SQL/SQLite/12/upgrade_040_copy_ircserver.sql with 100% similarity]
src/core/SQL/SQLite/version/12/upgrade_050_drop_ircserverold.sql [moved from src/core/SQL/SQLite/12/upgrade_050_drop_ircserverold.sql with 100% similarity]
src/core/SQL/SQLite/version/13/upgrade_000_create_buffer_user_idx.sql [moved from src/core/SQL/SQLite/13/upgrade_000_create_buffer_user_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/13/upgrade_010_create_buffer_cname_idx.sql [moved from src/core/SQL/SQLite/13/upgrade_010_create_buffer_cname_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/13/upgrade_020_create_buffer_cname_idx.sql [moved from src/core/SQL/SQLite/13/upgrade_020_create_buffer_cname_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/14/upgrade_000_rename_networktable.sql [moved from src/core/SQL/SQLite/14/upgrade_000_rename_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/14/upgrade_010_create_networktable.sql [moved from src/core/SQL/SQLite/14/upgrade_010_create_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/14/upgrade_030_copy_networktable.sql [moved from src/core/SQL/SQLite/14/upgrade_030_copy_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/14/upgrade_040_drop_networkold.sql [moved from src/core/SQL/SQLite/14/upgrade_040_drop_networkold.sql with 100% similarity]
src/core/SQL/SQLite/version/15/upgrade_000_fix_ircservers.sql [moved from src/core/SQL/SQLite/15/upgrade_000_fix_ircservers.sql with 100% similarity]
src/core/SQL/SQLite/version/15/upgrade_000_fix_network.sql [moved from src/core/SQL/SQLite/15/upgrade_000_fix_network.sql with 100% similarity]
src/core/SQL/SQLite/version/16/upgrade_000_alter_buffer_add_markerlinemsgid.sql [moved from src/core/SQL/SQLite/16/upgrade_000_alter_buffer_add_markerlinemsgid.sql with 100% similarity]
src/core/SQL/SQLite/version/17/upgrade_000_alter_network_add_sasl.sql [moved from src/core/SQL/SQLite/17/upgrade_000_alter_network_add_sasl.sql with 100% similarity]
src/core/SQL/SQLite/version/17/upgrade_001_alter_network_add_sasl.sql [moved from src/core/SQL/SQLite/17/upgrade_001_alter_network_add_sasl.sql with 100% similarity]
src/core/SQL/SQLite/version/17/upgrade_002_alter_network_add_sasl.sql [moved from src/core/SQL/SQLite/17/upgrade_002_alter_network_add_sasl.sql with 100% similarity]
src/core/SQL/SQLite/version/18/upgrade_000_alter_quasseluser_add_passwordversion.sql [moved from src/core/SQL/SQLite/18/upgrade_000_alter_quasseluser_add_passwordversion.sql with 100% similarity]
src/core/SQL/SQLite/version/19/upgrade_000_alter_ircserver_add_sslverify.sql [moved from src/core/SQL/SQLite/19/upgrade_000_alter_ircserver_add_sslverify.sql with 100% similarity]
src/core/SQL/SQLite/version/2/upgrade_000_drop_buffergroup.sql [moved from src/core/SQL/SQLite/2/upgrade_000_drop_buffergroup.sql with 100% similarity]
src/core/SQL/SQLite/version/2/upgrade_010_update_schemaversion.sql [moved from src/core/SQL/SQLite/2/upgrade_010_update_schemaversion.sql with 100% similarity]
src/core/SQL/SQLite/version/20/upgrade_000_alter_network_add_ratelimit_usecustom.sql [moved from src/core/SQL/SQLite/20/upgrade_000_alter_network_add_ratelimit_usecustom.sql with 100% similarity]
src/core/SQL/SQLite/version/20/upgrade_001_alter_network_add_ratelimit_burstsize.sql [moved from src/core/SQL/SQLite/20/upgrade_001_alter_network_add_ratelimit_burstsize.sql with 100% similarity]
src/core/SQL/SQLite/version/20/upgrade_002_alter_network_add_ratelimit_delay.sql [moved from src/core/SQL/SQLite/20/upgrade_002_alter_network_add_ratelimit_delay.sql with 100% similarity]
src/core/SQL/SQLite/version/20/upgrade_003_alter_network_add_ratelimit_unlimited.sql [moved from src/core/SQL/SQLite/20/upgrade_003_alter_network_add_ratelimit_unlimited.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_000_alter_buffer_add_lastmsgid.sql [moved from src/core/SQL/SQLite/21/upgrade_000_alter_buffer_add_lastmsgid.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_001_update_buffer_set_lastmsgid.sql [moved from src/core/SQL/SQLite/21/upgrade_001_update_buffer_set_lastmsgid.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_002_update_buffer_fix_lastseenmsgid_over_lastmsgid.sql [moved from src/core/SQL/SQLite/21/upgrade_002_update_buffer_fix_lastseenmsgid_over_lastmsgid.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_003_create_table_buffer_new.sql [moved from src/core/SQL/SQLite/21/upgrade_003_create_table_buffer_new.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_004_insert_into_buffer_new_from_buffer.sql [moved from src/core/SQL/SQLite/21/upgrade_004_insert_into_buffer_new_from_buffer.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_005_drop_table_buffer.sql [moved from src/core/SQL/SQLite/21/upgrade_005_drop_table_buffer.sql with 100% similarity]
src/core/SQL/SQLite/version/21/upgrade_006_alter_table_buffer_new_rename_to_buffer.sql [moved from src/core/SQL/SQLite/21/upgrade_006_alter_table_buffer_new_rename_to_buffer.sql with 100% similarity]
src/core/SQL/SQLite/version/3/upgrade_000_update_backlog_flags.sql [moved from src/core/SQL/SQLite/3/upgrade_000_update_backlog_flags.sql with 100% similarity]
src/core/SQL/SQLite/version/3/upgrade_010_update_schemaversion.sql [moved from src/core/SQL/SQLite/3/upgrade_010_update_schemaversion.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_000_rename_buffertable.sql [moved from src/core/SQL/SQLite/4/upgrade_000_rename_buffertable.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_010_create_buffertable.sql [moved from src/core/SQL/SQLite/4/upgrade_010_create_buffertable.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_020_copy_buffertable.sql [moved from src/core/SQL/SQLite/4/upgrade_020_copy_buffertable.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_030_drop_oldbuffertable.sql [moved from src/core/SQL/SQLite/4/upgrade_030_drop_oldbuffertable.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_040_create_buffer_idx.sql [moved from src/core/SQL/SQLite/4/upgrade_040_create_buffer_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/4/upgrade_050_create_buffer_cname_idx.sql [moved from src/core/SQL/SQLite/4/upgrade_050_create_buffer_cname_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/5/upgrade_000_rename_networktable.sql [moved from src/core/SQL/SQLite/5/upgrade_000_rename_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/5/upgrade_010_create_newnetworktable.sql [moved from src/core/SQL/SQLite/5/upgrade_010_create_newnetworktable.sql with 100% similarity]
src/core/SQL/SQLite/version/5/upgrade_020_copy_networktable.sql [moved from src/core/SQL/SQLite/5/upgrade_020_copy_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/5/upgrade_030_drop_oldnetworktable.sql [moved from src/core/SQL/SQLite/5/upgrade_030_drop_oldnetworktable.sql with 100% similarity]
src/core/SQL/SQLite/version/5/upgrade_180_create_ircservers.sql [moved from src/core/SQL/SQLite/5/upgrade_180_create_ircservers.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_000_alter_buffertable.sql [moved from src/core/SQL/SQLite/6/upgrade_000_alter_buffertable.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_010_set_statusbuffertype.sql [moved from src/core/SQL/SQLite/6/upgrade_010_set_statusbuffertype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_020_set_channelbuffertype.sql [moved from src/core/SQL/SQLite/6/upgrade_020_set_channelbuffertype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_030_set_querybuffertype.sql [moved from src/core/SQL/SQLite/6/upgrade_030_set_querybuffertype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_040_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_040_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_050_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_050_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_060_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_060_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_070_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_070_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_080_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_080_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_090_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_090_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_100_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_100_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_110_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_110_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_120_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_120_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_130_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_130_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_140_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_140_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_150_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_150_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/6/upgrade_160_update_msgtype.sql [moved from src/core/SQL/SQLite/6/upgrade_160_update_msgtype.sql with 100% similarity]
src/core/SQL/SQLite/version/7/upgrade_000_rename_networktable.sql [moved from src/core/SQL/SQLite/7/upgrade_000_rename_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/7/upgrade_010_create_newnetworktable.sql [moved from src/core/SQL/SQLite/7/upgrade_010_create_newnetworktable.sql with 100% similarity]
src/core/SQL/SQLite/version/7/upgrade_020_copy_networktable.sql [moved from src/core/SQL/SQLite/7/upgrade_020_copy_networktable.sql with 100% similarity]
src/core/SQL/SQLite/version/7/upgrade_030_drop_oldnetworktable.sql [moved from src/core/SQL/SQLite/7/upgrade_030_drop_oldnetworktable.sql with 100% similarity]
src/core/SQL/SQLite/version/7/upgrade_040_alter_buffer_add_lastseen.sql [moved from src/core/SQL/SQLite/7/upgrade_040_alter_buffer_add_lastseen.sql with 100% similarity]
src/core/SQL/SQLite/version/8/upgrade_000_alter_network_add_connected.sql [moved from src/core/SQL/SQLite/8/upgrade_000_alter_network_add_connected.sql with 100% similarity]
src/core/SQL/SQLite/version/8/upgrade_010_alter_buffer_add_key.sql [moved from src/core/SQL/SQLite/8/upgrade_010_alter_buffer_add_key.sql with 100% similarity]
src/core/SQL/SQLite/version/8/upgrade_020_alter_buffer_add_joined.sql [moved from src/core/SQL/SQLite/8/upgrade_020_alter_buffer_add_joined.sql with 100% similarity]
src/core/SQL/SQLite/version/8/upgrade_030_update_buffer_set_joined_for_channels.sql [moved from src/core/SQL/SQLite/8/upgrade_030_update_buffer_set_joined_for_channels.sql with 100% similarity]
src/core/SQL/SQLite/version/9/upgrade_000_create_backlog_idx.sql [moved from src/core/SQL/SQLite/9/upgrade_000_create_backlog_idx.sql with 100% similarity]
src/core/SQL/SQLite/version/9/upgrade_010_create_backlog_idx2.sql [moved from src/core/SQL/SQLite/9/upgrade_010_create_backlog_idx2.sql with 100% similarity]
src/core/SQL/SQLite/version/9/upgrade_020_create_buffer_idx.sql [moved from src/core/SQL/SQLite/9/upgrade_020_create_buffer_idx.sql with 100% similarity]
src/core/SQL/updateSQLResource.sh
src/core/SQL/upgradeSchema.sh
src/core/abstractsqlstorage.cpp
src/core/abstractsqlstorage.h
src/core/sql.qrc