Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add info about default SQL to create fields and database related topics #1044

Open
DavidBruchmann opened this issue Apr 27, 2024 · 3 comments
Assignees

Comments

@DavidBruchmann
Copy link
Contributor

Current behavior

SQL syntax to create common fields is not mentioned at all, and neither some side aspects like collation of whole tables or single fields.

Expected behavior/output

A basic chapter about default settings for fields, going into details about charset and collation, as well as special fields like timestamp in contrast to datetime, or json.
Also some special scenarios should be explained with respect to the database, like languages or workspaces.

In the overview of single fields I'd wish that the default SQL for each field is listed (it might consider different sorts of databases like mySQL, msSQL, postgres, SqLite if required.

@DavidBruchmann
Copy link
Contributor Author

special issues like changing select fields from int to string should be part of the general chapter too.

@sbuerk sbuerk self-assigned this Apr 28, 2024
@sbuerk
Copy link

sbuerk commented Apr 28, 2024

I guess you refere to Default Schema generation for supported TCA types, which has been drastically enriched with TYPO3 v13 ?

Will provide something the next days as a start point, but TYPO3 v13 changes/details may be not included directly and delayed because of (after they have been added to the core):

  • TCA type=input default schema generation still pending/not finished
  • Database Analyzer stacks needs quote some pre-work(refactoring) to provide possible safe database value migration without requireing to add dozen of update wizards or workaround hacks (for core AND extension authors)
  • It's planned to enhance the ext_tables.sql parser to support some stuff and fix/align other stuff in the Database Analyzer.

@DavidBruchmann
Copy link
Contributor Author

Yes, it's about Default Schema generation for supported TCA types.
Great that you assigned yourself, curious what's coming!!!

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

No branches or pull requests

3 participants