Update erd-dsl.md
This commit is contained in:
parent
7c7a9fc5d6
commit
706bbd09ce
1 changed files with 37 additions and 32 deletions
|
@ -11,42 +11,47 @@
|
||||||
```yaml
|
```yaml
|
||||||
entities:
|
entities:
|
||||||
user:
|
user:
|
||||||
- name: id
|
name: "Utilisateur"
|
||||||
type: integer
|
properties:
|
||||||
key: true
|
- name: id
|
||||||
options: ['autoincrement']
|
type: integer
|
||||||
- name: password_hash
|
key: true
|
||||||
type: varchar
|
options: ['autoincrement']
|
||||||
limit: 250
|
- name: password_hash
|
||||||
- name: role
|
type: varchar
|
||||||
type: varchar
|
limit: 250
|
||||||
limit: 10
|
- name: role
|
||||||
- name: created_at
|
type: varchar
|
||||||
type: datetime
|
limit: 10
|
||||||
- name: updated_at
|
- name: created_at
|
||||||
type: datetime
|
type: datetime
|
||||||
|
- name: updated_at
|
||||||
|
type: datetime
|
||||||
url:
|
url:
|
||||||
- name: id
|
name: "Adresses"
|
||||||
type: varchar
|
properties:
|
||||||
limit: 250
|
- name: id
|
||||||
key: true
|
type: varchar
|
||||||
- name: custom_id
|
limit: 250
|
||||||
type: varchar
|
key: true
|
||||||
limit: 250
|
- name: custom_id
|
||||||
- name: source_url
|
type: varchar
|
||||||
type: text
|
limit: 250
|
||||||
- name: short_url
|
- name: source_url
|
||||||
type: varchar
|
type: text
|
||||||
limit: 250
|
- name: short_url
|
||||||
- name: created_at
|
type: varchar
|
||||||
type: datetime
|
limit: 250
|
||||||
- name: updated_at
|
- name: created_at
|
||||||
type: datetime
|
type: datetime
|
||||||
- name: expires_at
|
- name: updated_at
|
||||||
type: datetime
|
type: datetime
|
||||||
|
- name: expires_at
|
||||||
|
type: datetime
|
||||||
|
|
||||||
relationships:
|
relationships:
|
||||||
manages_urls:
|
manages_urls:
|
||||||
|
name: "GereAdresse"
|
||||||
links:
|
links:
|
||||||
- name: user:
|
- name: user:
|
||||||
equals: 1
|
equals: 1
|
||||||
|
|
Loading…
Reference in a new issue