Skip to content

Commit a0922ea

Browse files
authored
create schema if not exists (#10)
1 parent e3d37f0 commit a0922ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Extensions.Caching.PostgreSql/PostgreSqlScripts/Create_Table_DistCache.sql

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
-- Table: public."DistCache"
1+
-- Table: [schemaName]."DistCache"
22

3-
-- DROP TABLE public."DistCache";
3+
4+
CREATE SCHEMA IF NOT EXISTS [schemaName];
45

56
CREATE TABLE IF NOT EXISTS [schemaName].[tableName]
67
(

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ Then you can delete the database with:
7272
prepare-database.cmd -erase
7373
```
7474
## Change Log
75+
1. v3.0.2 - `CreateInfrastructure` also creates the schema issue #8
7576
1. v3.0.1 - `DisableRemoveExpired` configuration added; If `TRUE` the cache instance won`t delete expired items.
7677
1. v3.0
7778
1. [BREAKING CHANGE] - Direct instantiation not preferred

0 commit comments

Comments
 (0)