function system_install() ajato_variable_set('filter_html_1', 1) ajato_variable_set('node_options_forum', 'status') ajato_variable_set('theme_default', 'garland') db_query("UPDATE {plugin} SET status = 1 WHERE type = 'theme' AND name = 'garland'") end function system_schema() return { ['batch'] = { ['fields'] = { ['bid'] = {['type'] = 'serial', ['unsigned'] = true, ['not null'] = true}, ['token'] = {['type'] = 'varchar', ['length'] = 64, ['not null'] = true}, ['timestamp'] = {['type'] = 'int', ['not null'] = true}, ['batch'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'medium'}}, ['primary key'] = {'bid'}, ['indexes'] = { ['token'] = {'token'}}}, ['cache'] = { ['fields'] = { ['cid'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['data'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'big'}, ['expire'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['created'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['headers'] = {['type'] = 'text', ['not null'] = ''}, ['serialized'] = {['type'] = 'int', ['size'] = 'small', ['not null'] = true, ['default'] = 0}}, ['indexes'] = { ['expire'] = {'expire'}}, ['primary key'] = {'cid'}}, ['cache_form'] = { ['fields'] = { ['cid'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['data'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'big'}, ['expire'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['created'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['headers'] = {['type'] = 'text', ['not null'] = ''}, ['serialized'] = {['type'] = 'int', ['size'] = 'small', ['not null'] = true, ['default'] = 0}}, ['indexes'] = { ['expire'] = {'expire'}}, ['primary key'] = {'cid'}}, ['cache_page'] = { ['fields'] = { ['cid'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['data'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'big'}, ['expire'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['created'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['headers'] = {['type'] = 'text', ['not null'] = ''}, ['serialized'] = {['type'] = 'int', ['size'] = 'small', ['not null'] = true, ['default'] = 0}}, ['indexes'] = { ['expire'] = {'expire'}}, ['primary key'] = {'cid'}}, ['cache_menu'] = { ['fields'] = { ['cid'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['data'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'big'}, ['expire'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['created'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['headers'] = {['type'] = 'text', ['not null'] = ''}, ['serialized'] = {['type'] = 'int', ['size'] = 'small', ['not null'] = true, ['default'] = 0}}, ['indexes'] = { ['expire'] = {'expire'}}, ['primary key'] = {'cid'}}, ['files'] = { ['fields'] = { ['fid'] = {['type'] = 'serial', ['unsigned'] = true, ['not null'] = true}, ['uid'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['filename'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['filepath'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['filemime'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['filesize'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['status'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['timestamp'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}}, ['indexes'] = { ['uid'] = {'uid'}, ['status'] = {'status'}, ['timestamp'] = {'timestamp'}}, ['primary key'] = {'fid'}}, ['flood'] = { ['fields'] = { ['fid'] = {['type'] = 'serial', ['not null'] = true}, ['event'] = {['type'] = 'varchar', ['length'] = 64, ['not null'] = true, ['default'] = ''}, ['hostname'] = {['type'] = 'varchar', ['length'] = 128, ['not null'] = true, ['default'] = ''}, ['timestamp'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}}, ['primary key'] = {'fid'}}, ['history'] = { ['fields'] = { ['uid'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['nid'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['timestamp'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}}, ['primary key'] = {'uid', 'nid'}}, ['menu_router'] = { ['fields'] = { ['path'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['load_functions'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['to_arg_functions'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['access_callback'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['access_arguments'] = {['type'] = 'text', ['not null'] = ''}, ['page_callback'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['page_arguments'] = {['type'] = 'text', ['not null'] = ''}, ['fit'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['number_parts'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['tab_parent'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['tab_root'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['title'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['title_callback'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['title_arguments'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['type'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['block_callback'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['description'] = {['type'] = 'text', ['not null'] = true}, ['position'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['weight'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['file'] = {['type'] = 'text', ['size'] = 'medium'}}, ['indexes'] = { ['fit'] = {'fit'}, ['tab_parent'] = {'tab_parent'}}, ['primary key'] = {'path'}}, ['menu_links'] = { ['fields'] = { ['menu_name'] = {['type'] = 'varchar', ['length'] = 64, ['not null'] = true, ['default'] = ''}, ['mlid'] = {['type'] = 'serial', ['unsigned'] = true, ['not null'] = true}, ['plid'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['link_path'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['router_path'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['hidden'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['external'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['has_children'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['expanded'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['weight'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['depth'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['customized'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'small'}, ['p1'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['p2'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['p3'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['p4'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['p5'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['p6'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}, ['module'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = 'system'}, ['link_title'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['options'] = {['type'] = 'text', ['not null'] = ''}}, ['indexes'] = { ['expanded_children'] = {'expanded','has_children'}, ['menu_name_path'] = {'menu_name','link_path'}, ['plid'] = {'plid'}, ['parents'] = {'p1','p2','p3','p4','p5'}, ['router_path'] = {'router_path'}}, ['primary key'] = {'mlid'}}, ['sequences'] = { ['fields'] = { ['name'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['id'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true, ['default'] = 0}}, ['primary key'] = {'name'}}, ['sessions'] = { ['fields'] = { ['uid'] = {['type'] = 'int', ['unsigned'] = true, ['not null'] = true}, ['sid'] = {['type'] = 'varchar', ['length'] = 64, ['not null'] = true, ['default'] = ''}, ['hostname'] = {['type'] = 'varchar', ['length'] = 128, ['not null'] = true, ['default'] = ''}, ['timestamp'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['cache'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['session'] = {['type'] = 'text', ['not null'] = '', ['size'] = 'medium'}}, ['primary key'] = {'sid'}, ['indexes'] = { ['timestamp'] = {'timestamp'}, ['uid'] = {'uid'}}}, ['plugin'] = { ['fields'] = { ['path'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['name'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['type'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['owner'] = {['type'] = 'varchar', ['length'] = 255, ['not null'] = true, ['default'] = ''}, ['status'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['throttle'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0, ['size'] = 'tiny'}, ['bootstrap'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['schema_version'] = {['type'] = 'int', ['not null'] = true, ['default'] = -1, ['size'] = 'small'}, ['weight'] = {['type'] = 'int', ['not null'] = true, ['default'] = 0}, ['info'] = {['type'] = 'text', ['not null'] = ''}}, ['primary key'] = {'path'}, ['indexes'] = { ['weight'] = {'weight'}}}, ['url_alias'] = { ['fields'] = { ['pid'] = {['type'] = 'serial', ['unsigned'] = true, ['not null'] = true}, ['src'] = {['type'] = 'varchar', ['length'] = 128, ['not null'] = true, ['default'] = ''}, ['dst'] = {['type'] = 'varchar', ['length'] = 128, ['not null'] = true, ['default'] = ''}, ['language'] = {['type'] = 'varchar', ['length'] = 12, ['not null'] = true, ['default'] = ''}}, ['unique keys'] = { ['dst_language'] = {'dst','language'}}, ['primary key'] = {'pid'}, ['indexes'] = { ['src'] = {'src'}}}, ['variable'] = { ['fields'] = { ['name'] = {['type'] = 'varchar', ['length'] = 128, ['not null'] = true, ['default'] = ''}, ['value'] = {['type'] = 'text', ['not null'] = true, ['size'] = 'medium'}}, ['primary key'] = {'name'}}} end