Rails 6.1 Adds Check Constraints Support
Rails 6.1 adds check_constraint, add_check_constraint, and remove_check_constraint to migrations, replacing raw SQL for database constraints.
Rails 6.1 Adds Check Constraints Support
Rails 6.1 adds check_constraint, add_check_constraint, and remove_check_constraint to migrations, replacing raw SQL for database constraints.Need help on your Ruby on Rails or React project?