diff options
author | Struan Donald <struan@exo.org.uk> | 2019-01-10 14:16:43 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-01-14 11:02:42 +0000 |
commit | 018da215a8c056f680202f128e0355c662b74c7f (patch) | |
tree | 8b490d51bfc1f3b50ccd029cc433c8ae8ea64c46 /bin | |
parent | e5ce120180174f24f6d033718819ed8c95457134 (diff) |
[Demo] add start and end date fields to licensing
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fixmystreet.com/fixture | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/fixmystreet.com/fixture b/bin/fixmystreet.com/fixture index b32da6f33..622bae018 100755 --- a/bin/fixmystreet.com/fixture +++ b/bin/fixmystreet.com/fixture @@ -82,6 +82,10 @@ for my $cat ('Dropped Kerbs', 'Skips') { category => $cat }); $child_cat->set_extra_metadata( group => 'Licensing' ); + $child_cat->set_extra_fields( + { description => 'Start date', code => 'start_date', datatype => 'string', fieldtype => 'date' }, + { description => 'End date', code => 'end_date', datatype => 'string', fieldtype => 'date' } + ); $child_cat->update; } |