-- --------------------------------------------------------

--
-- Table structure for table actions
--

CREATE TABLE actions (
  aid varchar(255) NOT NULL default '0',
  type varchar(255) NOT NULL default '',
  func varchar(255) NOT NULL default '',
  params text NOT NULL,
  description varchar(255) NOT NULL default '',
  PRIMARY KEY  (aid)
);

CREATE INDEX actions_func ON actions USING HASH (func);

-- --------------------------------------------------------

--
-- Table structure for table actions_registry
--

CREATE TABLE actions_registry (
  aid integer NOT NULL default '0',
  module varchar(255) NOT NULL default '',
  id integer NOT NULL default '0'
);

CREATE INDEX actions_registry_module ON actions_registry USING HASH (module);
CREATE INDEX actions_registry_id ON actions_registry USING HASH (id);
CREATE INDEX actions_registry_aid ON actions_registry USING HASH (aid);
