submit: fix foreign keys definition in models
- Fixes id_father foreign keys to support Null value.
- Removes invalid default values. (closes #2354)
Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
Leonardo Rossi <leonardo.r@cern.ch> | Mar 5 2015, 16:06 |