Skip to content

Comments

Validate options when managing columns and tables.#39659

Closed
tgxworld wants to merge 1 commit intorails:masterfrom
tgxworld:validate_migration_options
Closed

Validate options when managing columns and tables.#39659
tgxworld wants to merge 1 commit intorails:masterfrom
tgxworld:validate_migration_options

Conversation

@tgxworld
Copy link
Contributor

@tgxworld tgxworld commented Jun 18, 2020

Resolves #33284
Resolves #39230

@tgxworld tgxworld force-pushed the validate_migration_options branch 2 times, most recently from a239c59 to 2cc563f Compare June 18, 2020 09:51
@tgxworld tgxworld force-pushed the validate_migration_options branch 4 times, most recently from 4da4778 to 0380636 Compare June 18, 2020 12:59
@tgxworld tgxworld marked this pull request as ready for review June 19, 2020 01:19
@tgxworld tgxworld force-pushed the validate_migration_options branch 3 times, most recently from 5388242 to 6d2a877 Compare June 19, 2020 04:19
@tgxworld tgxworld changed the title Validate options when adding a column. Validate options when managing columns and tables. Jun 19, 2020
@tgxworld tgxworld force-pushed the validate_migration_options branch 8 times, most recently from 8719de3 to 07709a2 Compare June 19, 2020 08:31
@tgxworld tgxworld force-pushed the validate_migration_options branch from 07709a2 to b07b9f9 Compare June 19, 2020 08:32
V6_1 = Current

class V6_0 < V6_1
def method_missing(method, *arguments, &block)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should be more explicit here and list all the SchemaStatments method that we're trying to override.

@tgxworld
Copy link
Contributor Author

tgxworld commented Jul 6, 2020

@rafaelfranca @eugeneius Would you mind reviewing this PR as you originally reviewed #33347? Thank you in advanced.

@rails-bot
Copy link

rails-bot bot commented Oct 4, 2020

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Thank you for your contributions.

@rails-bot rails-bot bot added the stale label Oct 4, 2020
@rails-bot rails-bot bot closed this Oct 11, 2020
@tgxworld
Copy link
Contributor Author

This is still relevant.

@tgxworld tgxworld deleted the validate_migration_options branch October 12, 2020 01:05
@tgxworld
Copy link
Contributor Author

tgxworld commented Nov 6, 2020

@rafaelfranca Do you think we can try and land this in Rails 6.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrations Should Raise an Exception for Unsupported Options t.references doesn't raise an error on non-existent options

1 participant