-- Seed common resource types
INSERT INTO resource_types (code, name, description, tenant_id, branch_id)
VALUES
  ('module', 'Module', 'Application module entry point', NULL, NULL),
  ('table', 'Table', 'Backend table name', NULL, NULL),
  ('form', 'Form', 'Form builder form', NULL, NULL),
  ('wizard', 'Wizard', 'Multi step wizard', NULL, NULL),
  ('chart', 'Chart', 'Chart or report', NULL, NULL),
  ('worksheet', 'Worksheet', 'Spreadsheet worksheet', NULL, NULL),
  ('table_column', 'Table Column', 'Specific table column resource', NULL, NULL)
ON CONFLICT DO NOTHING;
