-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef40b85
commit b22b8e5
Showing
11 changed files
with
55 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
node/src/database/db_migrations/migrations/migration_9_to_10.rs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
create table config (name text not null, value text, encrypted integer not null) | ||
create unique index idx_config_name on config (name) | ||
insert into config (name, value, encrypted) values ('example_encrypted', null, 1) | ||
insert into config (name, value, encrypted) values ('clandestine_port', '2897', 0) | ||
insert into config (name, value, encrypted) values ('consuming_wallet_derivation_path', null, 0) | ||
insert into config (name, value, encrypted) values ('consuming_wallet_public_key', null, 0) | ||
insert into config (name, value, encrypted) values ('earning_wallet_address', null, 0) | ||
insert into config (name, value, encrypted) values ('schema_version', '10', 0) | ||
insert into config (name, value, encrypted) values ('seed', null, 0) | ||
insert into config (name, value, encrypted) values ('start_block', null, 0) | ||
insert into config (name, value, encrypted) values ('gas_price', '1', 0) | ||
insert into config (name, value, encrypted) values ('past_neighbors', null, 1) | ||
create table payable (wallet_address text primary key, balance integer not null, last_paid_timestamp integer not null, pending_payment_transaction text null) | ||
create unique index idx_payable_wallet_address on payable (wallet_address) | ||
create table receivable (wallet_address text primary key, balance integer not null, last_received_timestamp integer not null) | ||
create unique index idx_receivable_wallet_address on receivable (wallet_address) | ||
create table banned ( wallet_address text primary key ) | ||
create unique index idx_banned_wallet_address on banned (wallet_address) |