In a custom module in module.install I'm creating two tables in the hook_schema hook.

I've uninstalled and reinstalled the module and cleared the cache but the tables still don't appear in the database.

Is there something I'm missing or something wrong in my code?

See my code below:

enter image description here

closed as unclear what you're asking by Kevin, mradcliffe, Pierre.Vriens, leymannx, sanzante Jan 18 at 8:49

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • At first glance your code looks okay. I do notice you have several folders similarly named as your custom module. Are those custom modules too? Do those have .info files with the same name? Maybe they could be conflicting. – Matt Jan 16 at 21:00
  • 1
    Hey john, welcome to Drupal Answers. Please paste your code here and highlight it with the built-in code highlighter instead of adding screenshots. Screenshots are an annoyance to read, especially on mobile screens. – leymannx Jan 16 at 21:13

Browse other questions tagged or ask your own question.