CDLUC3 / dmptool

DMPTool version of the DMPRoadmap codebase
https://dmptool.org
MIT License
57 stars 13 forks source link

Preferences page - work in progress - for review #444

Closed terrywbrady closed 1 year ago

terrywbrady commented 1 year ago

Fixes #441 .

Database change summary:

    add_column :templates, :enable_research_outputs, :boolean, default: true

    add_column :templates, :user_guidance_output_types, :text
    add_column :templates, :user_guidance_repositories, :text
    add_column :templates, :user_guidance_metadata_standards, :text
    add_column :templates, :user_guidance_licenses, :text

    add_column :templates, :customize_output_types, :boolean, default: false
    add_column :templates, :customize_repositories, :boolean, default: false
    add_column :templates, :customize_metadata_standards, :boolean, default: false
    add_column :templates, :customize_licenses, :boolean, default: false

Output Types

Repositories

    add_table :templates_repositories
      t.belongs_to :template
      t.belongs_to :repository

Possible solution for custom repositories

    add_column :repositories, :custom_recommendation, :boolean, default: false

Metadata Standards

    add_table :templates_metadata_standards
      t.belongs_to :template
      t.belongs_to :metadata_standard

Preferred Licenses

    add_table :templates_licenses
      t.belongs_to :template
      t.belongs_to :license

Changes proposed in this PR:

terrywbrady commented 1 year ago

Closing draft to prevent GHA failure alerts