From 6749f8cdfdd9eb6de790dc690f3c3d10fcc984c1 Mon Sep 17 00:00:00 2001 From: Sebastian Alfers Date: Fri, 22 Mar 2024 18:10:12 +0100 Subject: [PATCH] docs: add missing getting-started docs for SQLServer --- docs/src/main/paradox/getting-started.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/src/main/paradox/getting-started.md b/docs/src/main/paradox/getting-started.md index 83ef44d5..19f07806 100644 --- a/docs/src/main/paradox/getting-started.md +++ b/docs/src/main/paradox/getting-started.md @@ -171,6 +171,9 @@ Postgres JSONB: Yugabyte: : @@snip [create_tables.sql](/ddl-scripts/create_tables_yugabyte.sql) +SQLServer: +: @@snip [create_tables.sql](/ddl-scripts/create_tables_sqlserver.sql) + The ddl script can be run in Docker with: Postgres: @@ -183,6 +186,11 @@ Yugabyte: docker exec -i yb-tserver-n1 /home/yugabyte/bin/ysqlsh -h yb-tserver-n1 -t < ddl-scripts/create_tables_yugabyte.sql ``` +SQLServer: +: ``` +docker exec -i sqlserver-db /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P '' -d master < ddl-scripts/create_tables_sqlserver.sql +``` + ### Dropping the schema Postgres: @@ -191,6 +199,9 @@ Postgres: Yugabyte: : @@snip [drop_tables.sql](/ddl-scripts/drop_tables_postgres.sql) +SQLServer: +: @@snip [drop_tables.sql](/ddl-scripts/drop_tables_sqlserver.sql) + ### Local testing in process with H2 H2 runs in the JVM process, either using a database directly in memory or in a local file. This means it requires no additional steps to start a database, it is started on first connection from the Akka Persistence R2DBC plugin.