You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-27 22:18:36 +02:00
17 lines
612 B
Plaintext
Vendored
17 lines
612 B
Plaintext
Vendored
Address = FunctionParameters["PG_IP"];
|
|
Login = "bayselonarrend";
|
|
Password = FunctionParameters["PG_Password"];
|
|
|
|
Base = "testbase1";
|
|
Table = "testtable";
|
|
|
|
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password);
|
|
|
|
ColoumnsStruct = New Structure;
|
|
ColoumnsStruct.Insert("smallint_field" , "SMALLINT");
|
|
ColoumnsStruct.Insert("double_field" , "DOUBLE");
|
|
ColoumnsStruct.Insert("bigint_field" , "BIGINT");
|
|
ColoumnsStruct.Insert("custom_field" , "TEXT");
|
|
|
|
Result = OPI_MySQL.EnsureTable(Table, ColoumnsStruct, ConnectionString);
|