Skip to content

Surveys tables in DB not backed by models #6162

@mrcasals

Description

@mrcasals

Describe the bug
Not specifically a bug, but it seems we have some leftover tables. When you create the development app from scratch, these two tables are created:

  • decidim_surveys_survey_answer_options
  • decidim_surveys_survey_questions

They're not backed by models because they were ported to decidim-forms a while ago, and it looks like migrations to remove those tables were missing.

To Reproduce
Steps to reproduce the behavior:

  1. Create a development app with bin/rake development_app
  2. Check the db/schema.rb file of that app
  3. Check that those tables exist

Expected behavior
Those tables should not be created

Screenshots
None

Stacktrace
None

Extra data (please complete the following information):

  • Decidim installation: develop branch

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions