I'm wondering where Drupal stores information in the database when one creates a rule with an event A node has been flagged and an action Grant user points to a user.

Can you help me?

1 Answer 1


Rules are stored in the rules_rules table in D7. The table contains the rows of name (a machine readable name) and data (a data blob).

^ this is from D6, D7 has rules stored in rules_config, with rules_trigger holding the triggers and the ID of the rule and the trigger matching to each other.

  • I can't find a rules_rules table in my database... Did you mean rules_config?
    – Jeroen
    Dec 18, 2013 at 15:48
  • No, rules_rules. You should have a rules_config, rules_dependencies, rules_rules, rules_sets, rules_tags and rules_trigger tables.
    – Jance
    Dec 18, 2013 at 15:57
  • I don't have the rules_rules and rules_sets tables. Is that abnormal?
    – Jeroen
    Dec 18, 2013 at 16:02
  • Are you able to create rules and save them?
    – Jance
    Dec 18, 2013 at 16:14
  • Yes, I am able to do so.
    – Jeroen
    Dec 18, 2013 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.