-- Create mobile_config table
CREATE TABLE mobile_config (
  id SERIAL PRIMARY KEY,
  tenant_id INTEGER,
  branch_id INTEGER,
  forms JSONB DEFAULT NULL,
  wizards JSONB DEFAULT NULL,
  modals JSONB DEFAULT NULL,
  isDeleted BOOLEAN NOT NULL DEFAULT FALSE,
  updatedAt TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
);
CREATE INDEX mobile_config_tenant_idx ON mobile_config(tenant_id);
CREATE INDEX mobile_config_branch_idx ON mobile_config(branch_id);
