diff --git a/api/utils/setup.ts b/api/utils/setup.ts index 15c5862..37be793 100644 --- a/api/utils/setup.ts +++ b/api/utils/setup.ts @@ -38,8 +38,8 @@ CREATE TABLE sphinx_timers ( chat_id BIGINT, receiver BIGINT, millis BIGINT, - amount DECIMAL, - ref_id BIGINT + ref_id BIGINT, + amount DECIMAL )`) } catch(e){console.log(e)} addTableColumn('sphinx_chats', 'escrow_amount', 'BIGINT') diff --git a/dist/api/utils/setup.js b/dist/api/utils/setup.js index a80afd3..5780e85 100644 --- a/dist/api/utils/setup.js +++ b/dist/api/utils/setup.js @@ -51,8 +51,8 @@ CREATE TABLE sphinx_timers ( chat_id BIGINT, receiver BIGINT, millis BIGINT, - amount DECIMAL, - ref_id BIGINT + ref_id BIGINT, + amount DECIMAL )`); } catch (e) {