Skip to content

Commit c77ef7e

Browse files
committed
chore: update engine bump migration to set default block time
- Modified the networks table to add a default value for the block_time column. - Updated the atlas checksum for the new migration file.
1 parent 5c8f615 commit c77ef7e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ent/migrate/migrations/20250608014647_engine_bump.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ALTER TABLE "linked_addresses" ALTER COLUMN "salt" DROP NOT NULL;
55
-- Modify "lock_payment_orders" table
66
ALTER TABLE "lock_payment_orders" ADD COLUMN "sender" character varying NULL;
77
-- Modify "networks" table
8-
ALTER TABLE "networks" DROP COLUMN "chain_id_hex", ADD COLUMN "block_time" double precision NOT NULL;
8+
ALTER TABLE "networks" DROP COLUMN "chain_id_hex", ADD COLUMN "block_time" double precision NOT NULL DEFAULT 2;
99
-- Drop index "receive_addresses_salt_key" from table: "receive_addresses"
1010
DROP INDEX "receive_addresses_salt_key";
1111
-- Modify "receive_addresses" table

ent/migrate/migrations/atlas.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
h1:sFWfYd8p6cVh3pgFwQ+qIr+HJdn/5TyhTsF67EJsCqQ=
1+
h1:iFEnr6tY2u1o6mZ1BwHtd8Y7AdwP9MOi6m0/rUBPyq0=
22
20240118234246_initial.sql h1:dYuYBqns33WT+3p8VQvbKUP62k3k6w6h8S+FqNqgSvU=
33
20240130122324_order_from_address.sql h1:mMVI2iBUd1roIYLUqu0d2jZ7+B6exppRN8qqn+aIHx4=
44
20240202010744_fees_on_order.sql h1:P7ngxZKqDKefBM5vk6M3kbWeMPVwbZ4MZVcLBjEfS34=
@@ -54,4 +54,4 @@ h1:sFWfYd8p6cVh3pgFwQ+qIr+HJdn/5TyhTsF67EJsCqQ=
5454
20250505033210_ugx_bank_institutions.sql h1:8ex3xOuruqqPQJbcR9rUNpPDHU4n8Q3URvUIXQ6oDDE=
5555
20250510231545_order_metadata.sql h1:BrHlYt3LvuYcnsw7b9xfzjg5U4D1RfPy+RusxRDj66k=
5656
20250517004500_brl_institutions.sql h1:w/xeXviTmKXCVt7s+h1nVfciXgB717stoY+T9GLnH8c=
57-
20250608014647_engine_bump.sql h1:HadB3kvSCnbjRzvZ25iLTyA6S2EFpuAs/mPVd7m3ELk=
57+
20250608014647_engine_bump.sql h1:lDpdJhk2jYJao9Gc6HpMiXkAmkeLujowwKHHT7W+U8c=

0 commit comments

Comments
 (0)