|
@@ -66,7 +66,7 @@ def main():
|
|
|
except KeyError:
|
|
|
grass.fatal(_('Column <%s> not found') % column)
|
|
|
|
|
|
- if coltype['type'] not in ('INTEGER', 'CHARACTER'):
|
|
|
+ if coltype['type'] not in ('INTEGER', 'SMALLINT', 'CHARACTER', 'TEXT'):
|
|
|
grass.fatal(_("Key column must be of type integer or string"))
|
|
|
|
|
|
f = grass.vector_layer_db(input, layer)
|