Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Last active October 11, 2016 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellofromtonya/8ade2210050a801269f7a8e71bec77e0 to your computer and use it in GitHub Desktop.
Save hellofromtonya/8ade2210050a801269f7a8e71bec77e0 to your computer and use it in GitHub Desktop.
Create a SQL Table
CREATE TABLE ktc_videos(
id BIGINT(20) unsigned NOT NULL AUTO_INCREMENT,
post_id BIGINT(20) unsigned NOT NULL DEFAULT 0,
video_id VARCHAR(200) NOT NULL,
PRIMARY KEY (id),
KEY post_id (post_id)
)
DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment