mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 04_Data_Types_and_Casting.md
Fixed missing closing single-quote in Car class example.
This commit is contained in:
parent
e00570f8b2
commit
87cc52f3e0
@ -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