Commit a42d39f5 authored by Sylvain Thénault's avatar Sylvain Thénault

[schema] drop meta property, deprecated since yams 0.25 (though warning was missing)

branch : stable
parent 5312d9c46452
......@@ -8,9 +8,9 @@ class File(EntityType):
title = String(fulltextindexed=True, maxsize=256)
data = Bytes(required=True, fulltextindexed=True,
description=_('file to upload'))
data_format = String(required=True, meta=True, maxsize=128,
data_format = String(required=True, maxsize=128,
description=_('MIME type of the file. Should be dynamically set at upload time.'))
data_encoding = String(meta=True, maxsize=32,
data_encoding = String(maxsize=32,
description=_('encoding of the file when it applies (e.g. text). '
'Should be dynamically set at upload time.'))
data_name = String(required=True, fulltextindexed=True,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment