Skip to content

Commit e0f8d99

Browse files
Sql grain persistence changes (#32532)
* Sql grain persistence changes Hello, the idea is to clarify that in Orleans 7.0.0+ the SQl Script for persistence changed removing the JsonPayload and XmlPayload columns, so if the devs are still using Orleans 3.x.x should apply the right sql script. * Apply suggestions from code review --------- Co-authored-by: David Pine <[email protected]>
1 parent 2e3552e commit e0f8d99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/orleans/host/configuration-guide/adonet-configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ The following sections contain links to SQL scripts to configure your database a
3030

3131
| Database | Script | NuGet package| ADO.NET invariant |
3232
|--|--|--|--|
33-
| SQL Server | [SQLServer-Persistence.sql](https://github.com/dotnet/orleans/blob/main/src/AdoNet/Orleans.Persistence.AdoNet/SQLServer-Persistence.sql) | [System.Data.SqlClient](https://www.nuget.org/packages/System.Data.SqlClient/) | `System.Data.SqlClient` |
33+
| SQL Server* | [SQLServer-Persistence.sql](https://github.com/dotnet/orleans/blob/main/src/AdoNet/Orleans.Persistence.AdoNet/SQLServer-Persistence.sql) | [System.Data.SqlClient](https://www.nuget.org/packages/System.Data.SqlClient/) | `System.Data.SqlClient` |
3434
| MySQL / MariaDB | [MySQL-Persistence.sql](https://github.com/dotnet/orleans/blob/main/src/AdoNet/Orleans.Persistence.AdoNet/MySQL-Persistence.sql) | [MySql.Data](https://www.nuget.org/packages/MySql.Data/) | `MySql.Data.MySqlClient` |
3535
| PostgreSQL | [PostgreSQL-Persistence.sql](https://github.com/dotnet/orleans/blob/main/src/AdoNet/Orleans.Persistence.AdoNet/PostgreSQL-Persistence.sql) | [Npgsql](https://www.nuget.org/packages/Npgsql/) | `Npgsql` |
3636
| Oracle | [Oracle-Persistence.sql](https://github.com/dotnet/orleans/blob/main/src/AdoNet/Orleans.Persistence.AdoNet/Oracle-Persistence.sql) | [ODP.net](https://www.nuget.org/packages/Oracle.ManagedDataAccess/) | `Oracle.DataAccess.Client` |
3737

38+
\* If you're using Orleans v3.x use this script template: <https://github.com/dotnet/orleans/blob/3.x/src/AdoNet/Orleans.Persistence.AdoNet/SQLServer-Persistence.sql>
39+
3840
## Reminders
3941

4042
| Database | Script | NuGet package| ADO.NET invariant |

0 commit comments

Comments
 (0)