Skip to content

Commit

Permalink
feat: auto-generating Chinook_PostgreSql_SerialPKs.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
lerocha committed Feb 10, 2024
1 parent 383c1f7 commit 8526cb7
Show file tree
Hide file tree
Showing 6 changed files with 15,742 additions and 31,549 deletions.
1 change: 1 addition & 0 deletions ChinookDatabase/DataSources/ChinookDatabase.tt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ var options = new
new OracleStrategy { PrimaryKeyStrategy = PrimaryKeyStrategy.None, Encoding = Encoding.UTF8 },
new PostgreSqlStrategy { PrimaryKeyStrategy = PrimaryKeyStrategy.None, Encoding = Encoding.Default },
new PostgreSqlStrategy { PrimaryKeyStrategy = PrimaryKeyStrategy.Identity, Encoding = Encoding.Default },
new PostgreSqlStrategy { PrimaryKeyStrategy = PrimaryKeyStrategy.Serial, Encoding = Encoding.Default },
new Db2Strategy { PrimaryKeyStrategy = PrimaryKeyStrategy.None, Encoding = Encoding.Default }
},
OutputFiles = new List<OutputFile>()
Expand Down
1 change: 1 addition & 0 deletions ChinookDatabase/DataSources/ChinookDatabase.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This is the list of files included in the complete version.
| Oracle | {"CreateOracle.bat"} | Batch file to create the Chinook database. |
| PostgreSql | {"Chinook_PostgreSql.sql"} | SQL script to create the Chinook database. |
| PostgreSql | {"Chinook_PostgreSql_AutoIncrementPKs.sql"} | SQL script to create the Chinook database. Auto incremented primary keys. |
| PostgreSql | {"Chinook_PostgreSql_SerialPKs.sql"} | SQL script to create the Chinook database. |
| PostgreSql | {"CreatePostgreSql.bat"} | Batch file to create the Chinook database. |
| Sqlite | {"Chinook_Sqlite.sql"} | SQL script to create the Chinook database. |
| Sqlite | {"Chinook_Sqlite.sqlite"} | Chinook database file. |
Expand Down
Loading

0 comments on commit 8526cb7

Please sign in to comment.