Skip to content

Commit

Permalink
Added Nuget readme file (#133)
Browse files Browse the repository at this point in the history
Solves #68
  • Loading branch information
erikbra authored Nov 10, 2021
1 parent c3e1592 commit 53019c0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SQL scripts migration runner

## What is grate?

grate is a SQL scripts migration runner, using plan, old SQL for migrations. No meta-language, no code, no config,
grate is a SQL scripts migration runner, using plain, old SQL for migrations. No meta-language, no code, no config,
no EF migrations. If gives you full flexibility, and full control of your migrations, and lets you use
all the fancy features of you particular database system. You are not constrained to any lowest common
feature set of all supported databases.
Expand Down Expand Up @@ -43,7 +43,7 @@ grate is short for migrate. And it's also pronounced the same way as _great_, so
* [Getting started](GettingStarted.md)
* [Getting grate](GettingGrate.md)
* [Migrating from RoundhousE](MigratingFromRoundhousE.md)
* [Configuration Options](ConfigurationOptions)
* [Configuration Options](ConfigurationOptions/index.md)
* [Environment scripts](EnvironmentScripts.md)
* [Token replacement](TokenReplacement.md)
* [Response files](ConfigurationOptions/ResponseFiles.md)
Expand Down
30 changes: 30 additions & 0 deletions grate/NuGet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# grate

grate is a SQL scripts migration runner, using plain, old SQL for migrations. No meta-language, no code, no config,
no EF migrations. If gives you full flexibility, and full control of your migrations, and lets you use
all the fancy features of you particular database system. You are not constrained to any lowest common
feature set of all supported databases.

## Minimal example
The only required argument to pass to grate is a **connection string** to tell it where to find your database.
It will deploy to that database, looking for sql scripts in the current directory.

```
grate --connectionstring="Server=(localdb)\MSSQLLocalDB;Integrated Security=true;Database=grate_test"
```

for more configuration options, see the [documentation](https://erikbra.github.io/grate/configuration-options/).



## grate supports the following DMBS's

* Microsoft SQL server
* PostgreSQL
* MariaDB/MySQL
* Sqlite
* _(Oracle support is in the works)_

Full documentation can be found at [https://erikbra.github.io/grate/](https://erikbra.github.io/grate/).


19 changes: 9 additions & 10 deletions grate/grate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@
<Nullable>enable</Nullable>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Authors>Erik A. Brandstadmoen</Authors>
<PackageReadmeFile>NuGet.md</PackageReadmeFile>
<Description>
grate - sql for the 20s
grate - sql for the 20s

grate is a no-code, low-fi database migration tool, inspired heavily by RoundhousE. It's written from the ground
up using modern .NET 6.
grate is a no-code, low-fi database migration tool, inspired heavily by RoundhousE. It's written from the ground
up using modern .NET 6.
</Description>
<PackageProjectUrl>https://erikbra.github.io/grate/</PackageProjectUrl>
<RepositoryUrl>https://github.com/erikbra/grate</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>sql migration roundhouse</PackageTags>
</PropertyGroup>

Expand All @@ -34,16 +36,13 @@
<DebugType>None</DebugType>
<RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">win-x64</RuntimeIdentifier>
<RuntimeIdentifiers>win-x64;win-x86;win-arm;win-arm64;alpine-x64;linux-x64;linux-arm;linux-arm64;osx.11.0-x64;osx.10.12-x64;osx-x64</RuntimeIdentifiers>

<!-- <PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<PublishReadyToRun>false</PublishReadyToRun>
<TrimMode>link</TrimMode>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> -->

<ToolCommandName>grate</ToolCommandName>
</PropertyGroup>

<ItemGroup>
<None Include="NuGet.md" Pack="true" PackagePath="\"/>
</ItemGroup>

<PropertyGroup Condition="'$(SelfContained)' == 'true'">
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
Expand Down

0 comments on commit 53019c0

Please sign in to comment.