Skip to content

Commit

Permalink
add cenotaph to existing mig
Browse files Browse the repository at this point in the history
  • Loading branch information
brady.ouren committed Jul 16, 2024
1 parent aedb79b commit e22bd16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 3 additions & 2 deletions migrations/V1__runes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CREATE TABLE IF NOT EXISTS runes (
terms_offset_start NUMERIC,
terms_offset_end NUMERIC,
turbo BOOLEAN NOT NULL DEFAULT FALSE,
cenotaph BOOLEAN NOT NULL DEFAULT FALSE,
timestamp BIGINT NOT NULL
);

Expand All @@ -25,10 +26,10 @@ CREATE INDEX runes_block_height_tx_index_index ON runes (block_height DESC, tx_i
-- Insert default 'UNCOMMON•GOODS'
INSERT INTO runes (
id, number, name, spaced_name, block_hash, block_height, tx_index, tx_id, symbol, terms_amount,
terms_cap, terms_height_start, terms_height_end, timestamp
terms_cap, terms_height_start, terms_height_end, cenotaph, timestamp
)
VALUES (
'1:0', 0, 'UNCOMMONGOODS', 'UNCOMMON•GOODS',
'0000000000000000000320283a032748cef8227873ff4872689bf23f1cda83a5', 840000, 0, '', '', 1,
'340282366920938463463374607431768211455', 840000, 1050000, 0
'340282366920938463463374607431768211455', 840000, 1050000, false, 0
);
3 changes: 0 additions & 3 deletions migrations/V5__add_cenotaph_to_runes.sql

This file was deleted.

0 comments on commit e22bd16

Please sign in to comment.