Sqldeploy
Simple database creator from sqlproj under .NET Core and Docker environment
Install / Use
/learn @raidenyn/SqldeployREADME
SqlDeploy
A little project for creation new databases in MS SQL Server from SQL Project files under .NET Core and Docker environment.
Unfortunately we cannot use Microsoft SSDT under Linux environment to create/migrate database version. But sometimes we want to run our tests from Docker and automatic database creation is really important detail for this. This library allows you to create and remove database easily.
NuGet installation
dotnet add package SqlDeploy
Limitations
- The lib can create database only. It cannot migrate or update exists databases.
- Creation script doesn't sort your DB objects by relations nad creates objects one by one as they are defined in *.sqlproj file. So you have to sort you objects manually to prevent errors bad relations order.
Usage sample
// Create a deployer
var deployer = new SqlProjectDeployer("path/to/your.sqlproj");
// Create a new db
var database = await deployer.RecreateToAsync(
new SqlConnection("<connection string to MS SQL>"),
databaseName: "NewDBName");
// You can work with the new DB here
// Delete the database after tests
await database.DeleteAsync();
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
345.4kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
prose
345.4kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
