Skip to content

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

Open
jyrkidn wants to merge 1 commit into
Naoray:masterfrom
jyrkidn:feature/uuid-is-relationship
Open

If datatype is an uuid, do not use as regular field#23
jyrkidn wants to merge 1 commit into
Naoray:masterfrom
jyrkidn:feature/uuid-is-relationship

Conversation

@jyrkidn
Copy link
Copy Markdown
Contributor

@jyrkidn jyrkidn commented Oct 14, 2020

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
Copy link
Copy Markdown
Owner

Naoray commented Oct 14, 2020

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
Copy link
Copy Markdown
Contributor Author

jyrkidn commented Oct 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants