From d9f4df2c3d0f93d84c8164d8c1c45f4fbe795950 Mon Sep 17 00:00:00 2001 From: ghe0 Date: Thu, 24 Apr 2025 23:01:31 +0300 Subject: [PATCH] add defaults for account --- interim_tables.surql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/interim_tables.surql b/interim_tables.surql index 5adedfb..2746abb 100644 --- a/interim_tables.surql +++ b/interim_tables.surql @@ -1,8 +1,8 @@ DEFINE TABLE account SCHEMAFULL; -DEFINE FIELD balance ON TABLE account TYPE int; -DEFINE FIELD tmp_locked ON TABLE account TYPE int; -DEFINE FIELD escrow ON TABLE account TYPE int; -DEFINE FIELD email ON TABLE account TYPE string; +DEFINE FIELD balance ON TABLE account TYPE int DEFAULT 0; +DEFINE FIELD tmp_locked ON TABLE account TYPE int DEFAULT 0; +DEFINE FIELD escrow ON TABLE account TYPE int DEFAULT 0; +DEFINE FIELD email ON TABLE account TYPE string DEFAULT ""; DEFINE TABLE vm_node SCHEMAFULL; DEFINE FIELD country ON TABLE vm_node TYPE string;