Skip to content

Commit a0d260f

Browse files
fixes #70 - covering EBR in naming conventions
1 parent 41b1000 commit a0d260f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/2-naming-conventions/naming-conventions.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ Examples:
182182

183183
### Table
184184

185-
Plural[^1] name of what is contained in the table (unless the table is designed to always hold one row only – then you should use a singular name)
185+
Plural[^1] name of what is contained in the table (unless the table is designed to always hold one row only – then you should use a singular name).
186+
187+
Suffixed by `_eb` when protected by an editioning view.
186188

187189
Add a comment to the database dictionary for every table and every column in the table.
188190

@@ -192,6 +194,7 @@ Examples:
192194

193195
* `employees`
194196
* `departments`
197+
* `countries_eb` - table interfaced by an editioning view named `countries`
195198
* `sct_contracts`
196199
* `sct_contract_lines`
197200
* `sct_incentive_modules`
@@ -226,6 +229,8 @@ Examples:
226229
Plural[^1] name of what is contained in the view.
227230
Optionally suffixed by an indicator identifying the object as a view (mostly used, when a 1:1 view layer lies above the table layer)
228231

232+
Editioning views are named like the original underlying table to avoid changing the existing application code when introducing edition based redefinition (EBR).
233+
229234
Add a comment to the database dictionary for every view and every column.
230235

231236
Optionally prefixed by a project abbreviation.
@@ -234,6 +239,7 @@ Examples:
234239

235240
* `active_orders`
236241
* `orders_v` - a view to the orders table
242+
* `countries` - an editioning view for table `countries_eb`
237243

238244
[^1]:
239245
We see a table and a view as a collection. A jar containing beans is labeled "beans".

0 commit comments

Comments
 (0)