mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Added LegacyID for keeping orginal ID. Used for site migration
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@67114 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
88d7a32017
commit
39e386bbe7
@ -17,6 +17,7 @@ class File extends DataObject {
|
|||||||
static $plural_name = "Files";
|
static $plural_name = "Files";
|
||||||
|
|
||||||
static $db = array(
|
static $db = array(
|
||||||
|
"LegacyID" => "Varchar(5)", // used for migration only
|
||||||
"Name" => "Varchar(255)",
|
"Name" => "Varchar(255)",
|
||||||
"Title" => "Varchar(255)",
|
"Title" => "Varchar(255)",
|
||||||
"Filename" => "Varchar(255)",
|
"Filename" => "Varchar(255)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user