Added Flow table SQL script as embedded resource
For use with DbUp or other database upgrade tools
This commit is contained in:
parent
0169db5243
commit
2556eedc7c
@ -10,6 +10,14 @@
|
||||
<NoWarn>1701;1702</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="scripts\Flow table.sql" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="scripts\Flow table.sql" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="System.Data.SqlClient" Version="4.6.1" />
|
||||
</ItemGroup>
|
||||
|
13
Tapeti.Flow.SQL/scripts/Flow table.sql
Normal file
13
Tapeti.Flow.SQL/scripts/Flow table.sql
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
|
||||
This script is embedded in the Tapeti.Flow.SQL package so it can be used with, for example, DbUp
|
||||
|
||||
*/
|
||||
|
||||
create table Flow
|
||||
(
|
||||
FlowID uniqueidentifier not null,
|
||||
CreationTime datetime2(3) not null,
|
||||
StateJson nvarchar(max) null,
|
||||
constraint PK_Flow primary key clustered(FlowID)
|
||||
);
|
Loading…
Reference in New Issue
Block a user