Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unknown type `unique` given to generator #1326
Thanks for the awesome Phoenix project.
I am trying to use the
When running this example from
I get this error:
It should be available, according to
But if I go to my local copy of Phoenix,
What is up with that?
Thanks for the reply. I got it working now, thanks to the documentation "Running a Phoenix master project".
First I had to delete the phoenix.new thing inside /Users/yourusername/.mix/archives
FWIW to run from master you just need to change the source of phoenix in mix.exs
note that you may have mix dependency errors use mix help deps or add override: true if you're feeling lucky
If you define on the shell, who is going to guarantee you will remember to do that in production or that you and your co-workers will remember to the same on your machines in development? The migration is the way to go, change the file, just don't do so through the command line.