Commit 138c208
committed
Improve the PostgreSQL scripts
* Use PostgreSQL naming conventions
* snake_case for table and coumn names, see [PostgreSQL naming conventions][1]
* pkey/fkey/idx suffix for constraint names, see [PostgreSQL: default constraint names][2]
* Add a script with auto incremented PKs
[1]: https://stackoverflow.com/questions/2878248/postgresql-naming-conventions/2878408#2878408
[2]: https://stackoverflow.com/questions/4107915/postgresql-default-constraint-names/4108266#41082661 parent 9208a2d commit 138c208
File tree
10 files changed
+31733
-15837
lines changed- ChinookDatabase
- DataSources
- DdlStrategies
- _T4Templates
10 files changed
+31733
-15837
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
202 | 203 | | |
203 | 204 | | |
204 | 205 | | |
205 | | - | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | | - | |
238 | | - | |
239 | | - | |
| 238 | + | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
Lines changed: 15820 additions & 15820 deletions
Large diffs are not rendered by default.
0 commit comments