Reply to comment

CakePHP Notes

1. I can't figure out how to use a composite primary key.
2. I can't figure out how to make a table without a primary key.

This is frustrating, because I have a join table that represents attendance at an event - a joining of an event and a person. There's no need for a third column with an "id" for that row, but that was the fix - to add extraneous information.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <b> <dd> <dl> <dt> <i> <li> <ol> <u> <ul> <p> <br> <div> <pre> <code> <img><h1><h2><h3><h4> <blockquote>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

.