From 706bbd09ced280177ac28d52af82e7131789c4e3 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 18 May 2020 11:24:02 +0200 Subject: [PATCH] Update erd-dsl.md --- doc/erd-dsl.md | 69 +++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 32 deletions(-) diff --git a/doc/erd-dsl.md b/doc/erd-dsl.md index b87432e..bdcafd4 100644 --- a/doc/erd-dsl.md +++ b/doc/erd-dsl.md @@ -11,42 +11,47 @@ ```yaml entities: user: - - name: id - type: integer - key: true - options: ['autoincrement'] - - name: password_hash - type: varchar - limit: 250 - - name: role - type: varchar - limit: 10 - - name: created_at - type: datetime - - name: updated_at - type: datetime + name: "Utilisateur" + properties: + - name: id + type: integer + key: true + options: ['autoincrement'] + - name: password_hash + type: varchar + limit: 250 + - name: role + type: varchar + limit: 10 + - name: created_at + type: datetime + - name: updated_at + type: datetime url: - - name: id - type: varchar - limit: 250 - key: true - - name: custom_id - type: varchar - limit: 250 - - name: source_url - type: text - - name: short_url - type: varchar - limit: 250 - - name: created_at - type: datetime - - name: updated_at - type: datetime - - name: expires_at - type: datetime + name: "Adresses" + properties: + - name: id + type: varchar + limit: 250 + key: true + - name: custom_id + type: varchar + limit: 250 + - name: source_url + type: text + - name: short_url + type: varchar + limit: 250 + - name: created_at + type: datetime + - name: updated_at + type: datetime + - name: expires_at + type: datetime relationships: manages_urls: + name: "GereAdresse" links: - name: user: equals: 1