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

Cannot use the ksuid or ksuid_binary field types when adding a column #48

Open
michaelherold opened this issue Oct 21, 2023 · 0 comments · May be fixed by #49
Open

Cannot use the ksuid or ksuid_binary field types when adding a column #48

michaelherold opened this issue Oct 21, 2023 · 0 comments · May be fixed by #49
Labels

Comments

@michaelherold
Copy link
Owner

michaelherold commented Oct 21, 2023

So I just started an empty rails project this morning and tested it all out. Here's the steps to reproduce all errors.

  1. rails new project with ruby 3.2.0 and rails 7.0.8.
  2. Add to Gemfile: (also tried w/out 'ksuid' same error)
gem 'ksuid'
gem 'activerecord-ksuid', require: 'active_record/ksuid/railtie'
  1. Run rails generate model Event my_field_name:ksuid => creates error.
  2. Create a migration file and use add_column => creates error.
  3. Create a migration file and use create_table => does not create error and works as expected.

Originally posted by @DataDaoDe in #21 (comment)

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

Successfully merging a pull request may close this issue.

1 participant