Skip to content

Commit

Permalink
stores: fix TestBuckets
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Sep 17, 2024
1 parent 3666b9b commit 9f51c06
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions stores/sql/mysql/migrations/main/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,3 @@ CREATE TABLE `wallet_outputs` (
UNIQUE KEY `output_id` (`output_id`),
KEY `idx_wallet_outputs_maturity_height` (`maturity_height`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- create default bucket
INSERT INTO buckets (created_at, name) VALUES (CURRENT_TIMESTAMP, 'default');
3 changes: 0 additions & 3 deletions stores/sql/sqlite/migrations/main/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,3 @@ CREATE INDEX `idx_wallet_events_block_id_height` ON `wallet_events`(`block_id`,`
CREATE TABLE `wallet_outputs` (`id` integer PRIMARY KEY AUTOINCREMENT,`created_at` datetime,`output_id` blob NOT NULL,`leaf_index` integer,`merkle_proof` longblob NOT NULL,`value` text,`address` blob,`maturity_height` integer);
CREATE UNIQUE INDEX `idx_wallet_outputs_output_id` ON `wallet_outputs`(`output_id`);
CREATE INDEX `idx_wallet_outputs_maturity_height` ON `wallet_outputs`(`maturity_height`);

-- create default bucket
INSERT INTO buckets (created_at, name) VALUES (CURRENT_TIMESTAMP, 'default');

0 comments on commit 9f51c06

Please sign in to comment.