a7bf0565844fb6c7ffb50a677cb152dd834b604b
[cumulus.git] / contrib / upgrade0.7-localdb.sql
1 -- SQL script for upgrading the local database to the format expected for LBS
2 -- version 0.7 (from a version 0.6 database).
3 --
4 -- This script should be loaded after connecting to the database to be
5 -- upgraded.
6
7 -- The subblock_signatures table was added to store a signature for old blocks
8 -- for performing subfile incremental backups.
9 create table subblock_signatures (
10     blockid integer primary key,
11     algorithm text not null,
12     signatures blob not null
13 );