function openid_install() db_sqlapi_install('openid') end function openid_schema() return { ['openid_association'] = { ['fields'] = { ['idp_endpoint_uri'] = {['type'] = 'varchar', ['length'] = 255}, ['assoc_handle'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true}, ['assoc_type'] = {['type'] = 'varchar', ['length'] = 32}, ['session_type'] = {['type'] = 'varchar', ['length'] = 32}, ['mac_key'] = {['type'] = 'varchar', ['length'] = 255}, ['created'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['expires_in'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}}, ['primary key'] = {'assoc_handle'}}} end