mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2025-01-28 04:47:54 +03:00
a9c12e9fa0
- Bug fixed: [Undefined index: factory](https://github.com/webNeat/lumen-generators/issues/14) - Feature added: [Check if file already exists before generating it](https://github.com/webNeat/lumen-generators/issues/11) - Feature added: [Support for additional columns like nullableTimestamps() and softDeletes() in migrations](https://github.com/webNeat/lumen-generators/issues/12) - Feature added: [Specifying namespace for `wn:resource` and `wn:resources`](https://github.com/webNeat/lumen-generators/issues/18)
22 lines
399 B
YAML
22 lines
399 B
YAML
---
|
|
Post:
|
|
belongsToMany: tags
|
|
fields:
|
|
title:
|
|
schema: string
|
|
rules: required
|
|
tags: fillable
|
|
content:
|
|
schema: text nullable
|
|
tags: fillable
|
|
published_at:
|
|
schema: date
|
|
rules: date
|
|
tags: date fillable
|
|
Tag:
|
|
belongsToMany: posts
|
|
fields:
|
|
name:
|
|
schema: string unique
|
|
rules: required
|
|
tags: fillable |