1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/cli/postgres/CreateTable/bat.txt

7 lines
825 B
Plaintext
Raw Normal View History

2025-02-18 14:01:44 +03:00
:: JSON data can also be passed as a path to a .json file
oint postgres CreateTable ^
--table "testtable" ^
--cols "{'bool_field':'BOOL','oldchar_field':'\"char\"','smallint_field':'SMALLINT','smallserial_field':'SMALLSERIAL','int_field':'INT','serial_field':'SERIAL','oid_field':'OID','bigint_field':'BIGINT','bigserial_field':'BIGSERIAL','real_field':'REAL','dp_field':'DOUBLE PRECISION','text_field':'TEXT','varchar_field':'VARCHAR','charn_field':'CHAR(3)','char_field':'CHAR','name_field':'NAME','bytea_field':'BYTEA','ts_field':'TIMESTAMP','tswtz_field':'TIMESTAMP WITH TIME ZONE','ip_field':'INET','json_field':'JSON','jsonb_field':'JSONB','date_field':'DATE','time_field':'TIME','uuid_field':'UUID'}" ^
2025-06-18 21:13:41 +03:00
--dbc "postgresql://bayselonarrend:***@127.0.0.1:5432/" ^
2025-07-05 13:02:22 +03:00
--tls "{'use_tls':true,'accept_invalid_certs':true}"