Naoray / blueprint-nova-addon

A Blueprint addon which generates Nova resources
MIT License
71 stars 37 forks source link

If datatype is an uuid, do not use as regular field #23

Open jyrkidn opened 4 years ago

jyrkidn commented 4 years ago

If you have an uuid now, it was also added as:

return [
    ID::make()->sortable(),

    Text::make('Team id')
        ->rules('required'),

    BelongsTo::make('Team'),

    DateTime::make('Created at'),
    DateTime::make('Updated at'),
];

The Text field was not necessary, with this update it will be removed and only the BelongsTo will be added.

Naoray commented 4 years ago

Hi @jyrkidn,

thanks for your contribution!

Could you point me to the update you are mentioning about the uuid columns? I don't seem to find anything about it.

jyrkidn commented 4 years ago

@Naoray I meant the update in this pull request. Sorry if it was not clear.