storj/pkg/piecestore/psserver/psdb/testdata/sqlite.v0.sql

10 lines
753 B
MySQL
Raw Normal View History

CREATE TABLE `ttl` (`id` BLOB UNIQUE, `created` INT(10), `expires` INT(10), `size` INT(10));
CREATE TABLE `bandwidth_agreements` (`satellite` BLOB, `agreement` BLOB, `signature` BLOB);
CREATE TABLE `bwusagetbl` (`size` INT(10), `daystartdate` INT(10), `dayenddate` INT(10));
CREATE INDEX idx_ttl_expires ON ttl (expires);
-- NEW DATA --
INSERT INTO ttl VALUES(1,2,3,4);
INSERT INTO bandwidth_agreements VALUES(X'6d6967726174696f6effffffffffffffffffffffffffffffffffffffffffffff',X'0a440a200000000000000000000000000000000000000000000000000000000000000000122000000000000000000000000000000000000000000000000000000000000000001a200000000000000000000000000000000000000000000000000000000000000000',X'7369676e6174757265');
INSERT INTO bwusagetbl VALUES(1,3,4);