# -*- coding: utf-8 -*-
""" countries
""" db.define_table("countries",
Field("country", "string", length=255, notnull=True, unique=True),
Field("synonyms", "list:string", comment=tp_synonyms),
migrate="countries.table") db.countries._before_delete.append(INHIBIT_CASCADE_DELETE)
db.countries._before_delete.append(dbui.INHIBIT_DELETE_UNDEF) db.countries._before_update.append(dbui.INHIBIT_UPDATE_UNDEF)
db.countries.country.filter_in = dbui.CLEAN_SPACES