Super
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
src/EasyAbp.Abp.EventBus.Boxes.Dtm.EntityFrameworkCore/EasyAbp/Abp/EventBus/Boxes/Dtm/Barriers/DbSpecials/PostgreSQLDtmBarrierDbSpecial.cs
|
|
|
@ -36,9 +36,9 @@ create schema if not exists ""{schemaName}""; |
|
|
|
} |
|
|
|
|
|
|
|
sql += $@"
|
|
|
|
CREATE SEQUENCE if not EXISTS ""{sequenceFullName}""; |
|
|
|
create table if not exists ""{tableFullName}""( |
|
|
|
id bigint NOT NULL DEFAULT NEXTVAL (""{sequenceFullName}""), |
|
|
|
CREATE SEQUENCE if not EXISTS {sequenceFullName}; |
|
|
|
create table if not exists {tableFullName}( |
|
|
|
id bigint NOT NULL DEFAULT NEXTVAL ('{sequenceFullName}'), |
|
|
|
trans_type varchar(45) default '', |
|
|
|
gid varchar(128) default '', |
|
|
|
branch_id varchar(128) default '', |
|
|
|
@ -65,4 +65,4 @@ create table if not exists ""{tableFullName}""( |
|
|
|
{ |
|
|
|
return string.Format(QueryPreparedSqlFormat, tableName ?? DefaultBarrierTableName); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|