Commit 01c32c2c authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add a default value for the fiels

parent f62783c6
......@@ -16,7 +16,7 @@ db.define_table("history",
Field("start_date", "date", default=today, notnull=True),
Field("end_date", "date"),
Field("note", "text"),
Field("data", "json"),
Field("data", "json", default=dict()),
# NOTE: we have to remove the json validator to work !!
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