Rename fixes
This commit is contained in:
parent
66e9f90187
commit
5557397b9d
@ -18,7 +18,7 @@ namespace Tapeti.Flow.SQL
|
||||
FlowID uniqueidentifier not null,
|
||||
ServiceID int not null,
|
||||
CreationTime datetime2(3) not null,
|
||||
Flowdata nvarchar(max) null,
|
||||
StateJson nvarchar(max) null,
|
||||
|
||||
constraint PK_Flow primary key clustered (FlowID)
|
||||
);
|
||||
@ -44,8 +44,8 @@ namespace Tapeti.Flow.SQL
|
||||
using (var connection = await GetConnection())
|
||||
{
|
||||
var flowQuery = new SqlCommand($"select FlowID, StateJson from {schema}.Flow " +
|
||||
"where ServiceID = @ServiceID " +
|
||||
"order by FlowID", connection);
|
||||
"where ServiceID = @ServiceID ",
|
||||
connection);
|
||||
var flowServiceParam = flowQuery.Parameters.Add("@ServiceID", SqlDbType.Int);
|
||||
|
||||
flowServiceParam.Value = serviceId;
|
||||
|
Loading…
Reference in New Issue
Block a user