mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8727 from jchenevey/patch-1
Update 04_Data_Types_and_Casting.md
This commit is contained in:
commit
a65a4b2505
@ -91,7 +91,7 @@ class Car extends DataObject
|
|||||||
private static $db = [
|
private static $db = [
|
||||||
'Wheels' => 'Int(4)',
|
'Wheels' => 'Int(4)',
|
||||||
'Condition' => 'Enum(array("New","Fair","Junk"), "New")',
|
'Condition' => 'Enum(array("New","Fair","Junk"), "New")',
|
||||||
'Make' => 'Varchar(["default" => "Honda"]),
|
'Make' => 'Varchar(["default" => "Honda"])',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user