-
Notifications
You must be signed in to change notification settings - Fork 196
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
UUID #45
Comments
FYI, you can also use create_table :follows, id: :uuid, force: true do |t|
t.references :followable, type: :uuid, polymorphic: true, null: false
t.references :follower, type: :uuid, polymorphic: true, null: false
# ...
end |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a migration file for whoever use UUID, I really don't know How to Create an alternate generator to submit, but this could help someone!
The text was updated successfully, but these errors were encountered: