Skip to content

Commit

Permalink
Deprecate setFromDb() method
Browse files Browse the repository at this point in the history
  • Loading branch information
promatik committed Jan 7, 2024
1 parent 1afa91a commit 74b6908
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/Library/CrudPanel/Traits/AutoSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
trait AutoSet
{
/**
* @deprecated v6.5.2
* The `setFromDb` method should not be used.
* Please use the `addColumn`/`addField` methods instead.
*
* For a simple CRUD Panel, there should be no need to add/define the fields.
* The public columns in the database will be converted to be fields.
*
Expand Down

0 comments on commit 74b6908

Please sign in to comment.