OpenSourcePolitics / decidim_cards

GNU Affero General Public License v3.0
2 stars 0 forks source link

[dbt transition] Handling instances without initiatives #133

Open Dynnammo opened 2 years ago

Dynnammo commented 2 years ago

Currently, the script creates all possible models, including the initiatives that aren't included in the decidim_app.

The script should be adaptable and create those models depending on :

  1. A boolean env. variable INITIATIVES INCLUDED
  2. Or (and better), detection of a the existing tables, if decidim_initiatives is among them