function menu_install() db_sqlapi_install('menu') end function menu_schema() return { ['menu_custom'] = { ['fields'] = { ['menu_name'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['title'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['description'] = {['type'] = 'text', ['not null'] = ''}}, ['primary key'] = {'menu_name'}}} end