Skip to content

Instantly share code, notes, and snippets.

@DamianZaremba
Created September 2, 2012 01:45
Show Gist options
  • Save DamianZaremba/3593576 to your computer and use it in GitHub Desktop.
Save DamianZaremba/3593576 to your computer and use it in GitHub Desktop.
ALTER TABLE reports ADD FOREIGN KEY (revertid) REFERENCES vandalism(id) on delete CASCADE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment