Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions having to do with constructing plugins.
1
vote
Mysql error when defining related tables
Ok, so I figured it out.
The reason it fails to create the tables is because the foreign key has to be of the same type as the primary key it's relating to.
So I just changed:
'quoteId' => Attrib …
2
votes
1
answer
123
views
Mysql error when defining related tables
I'm trying to create some relational tables from 2 records but I keep getting the mysql error:
CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1005 Can't create table …