|
| 1 | +\restrict V8s7yzWY55LtWT8dJxqVvS1WjoR0TM2QsXaaB8DbB1Z9VB52I6EqVzTa1wJnm75 |
| 2 | + |
| 3 | +-- Dumped from database version 16.10 |
| 4 | +-- Dumped by pg_dump version 16.10 |
| 5 | + |
1 | 6 | SET statement_timeout = 0; |
2 | 7 | SET lock_timeout = 0; |
3 | 8 | SET idle_in_transaction_session_timeout = 0; |
@@ -60,38 +65,6 @@ CREATE SEQUENCE public.account_books_id_seq |
60 | 65 | ALTER SEQUENCE public.account_books_id_seq OWNED BY public.account_books.id; |
61 | 66 |
|
62 | 67 |
|
63 | | --- |
64 | | --- Name: address_block_snapshots; Type: TABLE; Schema: public; Owner: - |
65 | | --- |
66 | | - |
67 | | -CREATE TABLE public.address_block_snapshots ( |
68 | | - id bigint NOT NULL, |
69 | | - address_id bigint, |
70 | | - block_id bigint, |
71 | | - block_number bigint, |
72 | | - final_state jsonb |
73 | | -); |
74 | | - |
75 | | - |
76 | | --- |
77 | | --- Name: address_block_snapshots_id_seq; Type: SEQUENCE; Schema: public; Owner: - |
78 | | --- |
79 | | - |
80 | | -CREATE SEQUENCE public.address_block_snapshots_id_seq |
81 | | - START WITH 1 |
82 | | - INCREMENT BY 1 |
83 | | - NO MINVALUE |
84 | | - NO MAXVALUE |
85 | | - CACHE 1; |
86 | | - |
87 | | - |
88 | | --- |
89 | | --- Name: address_block_snapshots_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: - |
90 | | --- |
91 | | - |
92 | | -ALTER SEQUENCE public.address_block_snapshots_id_seq OWNED BY public.address_block_snapshots.id; |
93 | | - |
94 | | - |
95 | 68 | -- |
96 | 69 | -- Name: address_udt_transactions; Type: TABLE; Schema: public; Owner: - |
97 | 70 | -- |
@@ -123,7 +96,6 @@ CREATE TABLE public.addresses ( |
123 | 96 | average_deposit_time bigint, |
124 | 97 | unclaimed_compensation numeric(30,0), |
125 | 98 | is_depositor boolean DEFAULT false, |
126 | | - dao_transactions_count bigint DEFAULT 0.0, |
127 | 99 | lock_script_id bigint, |
128 | 100 | balance_occupied numeric(30,0) DEFAULT 0.0, |
129 | 101 | last_updated_block_number bigint |
@@ -2771,13 +2743,6 @@ ALTER TABLE ONLY public.ckb_transactions ATTACH PARTITION public.ckb_transaction |
2771 | 2743 | ALTER TABLE ONLY public.account_books ALTER COLUMN id SET DEFAULT nextval('public.account_books_id_seq'::regclass); |
2772 | 2744 |
|
2773 | 2745 |
|
2774 | | --- |
2775 | | --- Name: address_block_snapshots id; Type: DEFAULT; Schema: public; Owner: - |
2776 | | --- |
2777 | | - |
2778 | | -ALTER TABLE ONLY public.address_block_snapshots ALTER COLUMN id SET DEFAULT nextval('public.address_block_snapshots_id_seq'::regclass); |
2779 | | - |
2780 | | - |
2781 | 2746 | -- |
2782 | 2747 | -- Name: addresses id; Type: DEFAULT; Schema: public; Owner: - |
2783 | 2748 | -- |
@@ -3199,14 +3164,6 @@ ALTER TABLE ONLY public.account_books |
3199 | 3164 | ADD CONSTRAINT account_books_pkey PRIMARY KEY (id); |
3200 | 3165 |
|
3201 | 3166 |
|
3202 | | --- |
3203 | | --- Name: address_block_snapshots address_block_snapshots_pkey; Type: CONSTRAINT; Schema: public; Owner: - |
3204 | | --- |
3205 | | - |
3206 | | -ALTER TABLE ONLY public.address_block_snapshots |
3207 | | - ADD CONSTRAINT address_block_snapshots_pkey PRIMARY KEY (id); |
3208 | | - |
3209 | | - |
3210 | 3167 | -- |
3211 | 3168 | -- Name: addresses addresses_pkey; Type: CONSTRAINT; Schema: public; Owner: - |
3212 | 3169 | -- |
@@ -4362,27 +4319,6 @@ CREATE INDEX index_account_books_on_block_number_and_tx_index ON public.account_ |
4362 | 4319 | CREATE INDEX index_account_books_on_ckb_transaction_id ON public.account_books USING btree (ckb_transaction_id); |
4363 | 4320 |
|
4364 | 4321 |
|
4365 | | --- |
4366 | | --- Name: index_address_block_snapshots_on_address_id; Type: INDEX; Schema: public; Owner: - |
4367 | | --- |
4368 | | - |
4369 | | -CREATE INDEX index_address_block_snapshots_on_address_id ON public.address_block_snapshots USING btree (address_id); |
4370 | | - |
4371 | | - |
4372 | | --- |
4373 | | --- Name: index_address_block_snapshots_on_block_id; Type: INDEX; Schema: public; Owner: - |
4374 | | --- |
4375 | | - |
4376 | | -CREATE INDEX index_address_block_snapshots_on_block_id ON public.address_block_snapshots USING btree (block_id); |
4377 | | - |
4378 | | - |
4379 | | --- |
4380 | | --- Name: index_address_block_snapshots_on_block_id_and_address_id; Type: INDEX; Schema: public; Owner: - |
4381 | | --- |
4382 | | - |
4383 | | -CREATE UNIQUE INDEX index_address_block_snapshots_on_block_id_and_address_id ON public.address_block_snapshots USING btree (block_id, address_id); |
4384 | | - |
4385 | | - |
4386 | 4322 | -- |
4387 | 4323 | -- Name: index_address_udt_transactions_on_ckb_transaction_id; Type: INDEX; Schema: public; Owner: - |
4388 | 4324 | -- |
@@ -5627,6 +5563,8 @@ ALTER TABLE ONLY public.udt_transactions |
5627 | 5563 | -- PostgreSQL database dump complete |
5628 | 5564 | -- |
5629 | 5565 |
|
| 5566 | +\unrestrict V8s7yzWY55LtWT8dJxqVvS1WjoR0TM2QsXaaB8DbB1Z9VB52I6EqVzTa1wJnm75 |
| 5567 | + |
5630 | 5568 | SET search_path TO "$user", public; |
5631 | 5569 |
|
5632 | 5570 | INSERT INTO "schema_migrations" (version) VALUES |
@@ -6005,6 +5943,8 @@ INSERT INTO "schema_migrations" (version) VALUES |
6005 | 5943 | ('20250827065749'), |
6006 | 5944 | ('20250930015526'), |
6007 | 5945 | ('20251011011714'), |
6008 | | -('20251013082609'); |
| 5946 | +('20251013082609'), |
| 5947 | +('20251027053353'), |
| 5948 | +('20251027054232'); |
6009 | 5949 |
|
6010 | 5950 |
|
0 commit comments