Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created March 6, 2010 03:39
Show Gist options
  • Save slywalker/323479 to your computer and use it in GitHub Desktop.
Save slywalker/323479 to your computer and use it in GitHub Desktop.
ALTER TABLE `posts` ADD `user_id` INT NOT NULL AFTER `id`, ADD INDEX (`user_id`);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment