Skip to content

Instantly share code, notes, and snippets.

@mrimann
Created November 30, 2012 12:16
Show Gist options
  • Save mrimann/4175455 to your computer and use it in GitHub Desktop.
Save mrimann/4175455 to your computer and use it in GitHub Desktop.
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
/**
* A User
*
* @Flow\Entity
*/
class User {
/**
* @var \TYPO3\Flow\Security\Account
* @ORM\ManyToOne
*/
protected $account;
@kdambekalns
Copy link

Oh, and always remember: SHOW ENGINE INNODB STATUS is your best friend when you hit error 150…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment