Browse Source

Merge branch 'master' of git.labocleo.org:lodel2

Yann Weber 9 years ago
parent
commit
5361ddc94a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Database/sqlsetup.py

+ 1
- 1
Database/sqlsetup.py View File

@@ -72,7 +72,7 @@ class SQLSetup(object):
72 72
         # Table listing the fields of a fieldgroup
73 73
         em_field = {"name":"em_field"}
74 74
         em_field['columns'] = default_columns + [
75
-            {"name":"fieldtype_id",   "type":"INTEGER", "extra":{"nullable":False}},
75
+            {"name":"fieldtype",   "type":"VARCHAR(50)", "extra":{"nullable":False}},
76 76
             {"name":"fieldgroup_id",  "type":"INTEGER", "extra":{"foreignkey":"em_fieldgroup.uid", "nullable":False}},
77 77
             {"name":"rel_to_type_id", "type":"INTEGER", "extra":{"foreignkey":"em_type.uid", "nullable":False}}, # if relational: type this field refer to
78 78
             {"name":"rel_field_id",   "type":"INTEGER", "extra":{"foreignkey":"em_type.uid", "nullable":False}}, # if relational: field that specify the rel_to_type_id

Loading…
Cancel
Save