Commit 42ef5865 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Remove the field events.category.

parent e249da59
......@@ -10,7 +10,6 @@ T("Define a crude model for the data block associated to each event. "
db.define_table("events",
Field("event", "string", length=255, notnull=True, unique=True),
Field("category", "string", length=255, notnull=True),
Field("definition", "text"),
Field("data", "json", comment=tp_data, label="Model"),
migrate="events.table")
......
......@@ -25,8 +25,7 @@ fieldsModifier.configure_field('data',
#
#-------------------------------------------------------------------------------
gridModifier = dbui.GridModifier('events')
gridModifier.configure_column('category', width=20)
gridModifier.configure_column('event', width=20)
gridModifier.configure_column('event', width=30)
#-------------------------------------------------------------------------------
#
......
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