add blueprint to git for blueprint branch

This commit is contained in:
Benjamin Takats
2022-11-29 20:38:01 +01:00
parent e0d0278f4f
commit ee11a2f668
3 changed files with 42 additions and 2 deletions

17
draft.yaml Normal file
View File

@@ -0,0 +1,17 @@
models:
Country:
name: string
code: string
relationships:
hasMany: City
City:
name: string
country_id: id foreign
relationships:
belongsTo: Country
Lecturer:
first_name: string
last_name: string
active: boolean default:true
seeders: Country, City, Lecturer