Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails migration polymorphic references

$ rails generate migration AddImageableToProducts imageable:references{polymorphic}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rails #migration #polymorphic #references
ADD COMMENT
Topic
Name
5+8 =