-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re_building_group_disposal has only a primary key column #47
Comments
No, this is a mistake - I will fix it |
@3nids Do we need an obj_id in these m:n relation tables from a postgres / QGIS perspective? I just see that I had intended to not add it anymore, as INTERLIS does not need it as far as I understand.
and |
An |
In a pure DB vision, a single primary key is useless as we could use compound keys on the 2 reference columns. And yes, please use a UUID (not necessarily a TWW OID, a simple auto generated UUID is fine) as it is much more robust than serials. |
@3nids So how should this be then adapted with an UUID? I suggest to then not name it obj_id but uuid_id
|
if not already install we need and then you can use for the column, just go for id, simpler is better :) |
If there's no preference, I would go with uuid_generate_v4 ()
MAC adress are considered as personnal data and I would rather avoid anything to do with RGPD in that context... |
Does this look good - I just created a table uuidtest: |
yes |
looks good to me. Associations should not require OIDs |
Solved with #49 |
* Move alterations from closed sql_fixes to new PR The not yet working part is now separated * do not materialize gepknoten * gepknoten minor fix * add MATERIALIZED VIEW {ext_schema}.knoten_bauwerksattribute * unconnectected_node bwrel
schemaspy spotted this issue
is this expected?
The text was updated successfully, but these errors were encountered: