2
0
Эх сурвалжийг харах

:wernch: add snowflake config

visuddhinanda 4 жил өмнө
parent
commit
bb6c89c539
3 өөрчлөгдсөн 13 нэмэгдсэн , 3 устгасан
  1. 4 1
      .env.example
  2. 6 1
      change-logs.md
  3. 3 1
      config/database.php

+ 4 - 1
.env.example

@@ -58,4 +58,7 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
 RPC_SERVER="https://rpc.wikipali.org"
 ASSETS_SERVER="https://assets-hk.wikipali.org"
 HELP_SERVER="https://help-hk.wikipali.org"
-GRAMMAR_SERVER="https://grammar-hk.wikipali.org"
+GRAMMAR_SERVER="https://grammar-hk.wikipali.org"
+
+SNOWFLAKE_DATACENTER_ID = 1
+SNOWFLAKE_WORKER_ID = 1

+ 6 - 1
change-logs.md

@@ -32,4 +32,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - rename RPC_DOMAIN_NAME -> RPC_SERVER in config.sample.php
 - remove WWW_DOMAIN_NAME  from config.sample.js
 - rename RPC_DOMAIN_NAME -> RPC_SERVER in config.sample.js
-- add RPC_SERVER to .env.example
+- add RPC_SERVER to .env.example
+
+## [1.0.4] - 2022-01-19
+
+- add SNOWFLAKE to .env.example
+- add snowflake to database.php

+ 3 - 1
config/database.php

@@ -143,5 +143,7 @@ return [
         ],
 
     ],
-
+	'snowflake' => [
+		'start'=>"2021-12-08",
+	],
 ];