We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TableName
Table
1 parent 0268b78 commit 17b4f3bCopy full SHA for 17b4f3b
src/Web/Documentation/content/main/1-essentials/05-models.md
@@ -92,12 +92,12 @@ $books[0]->chapters[2]->delete();
92
93
### Table naming
94
95
-Tempest will infer a table name for your models based on the model's class name. You can override this name by using the `TableName` attribute:
+Tempest will infer a table name for your models based on the model's class name. You can override this name by using the `Table` attribute:
96
97
```php
98
-use Tempest\Database\TableName;
+use Tempest\Database\Table;
99
100
-#[TableName('my_books')]
+#[Table('my_books')]
101
final class Book
102
{
103
// …
0 commit comments