Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrations for components and layouts tables #666

Open
james-owen opened this issue Jun 10, 2019 · 1 comment
Open

Migrations for components and layouts tables #666

james-owen opened this issue Jun 10, 2019 · 1 comment

Comments

@james-owen
Copy link
Member

Description

Currently there is no way to do migrations for Components and Layouts tables in the Postgres database, because these collections can change between migrations. These collections were intentionally removed from the migrations toolchain, but there should be a system setup so that these tables can be modified in migrations, either by running the migration tool multiple times on start of the application or some other way.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create any migration for the table components or layouts. This migration will not be run on these tables until the module restarts.

Expected Behavior

Migrations should be complete on each restart of the module.

Additional Context

Due to the design of Clay, it's necessary to remove components and layouts from the migrations toolchain, however, we should attempt to make it possible to modify the attributes on these tables.

@TTaitFoster
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants