Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Created July 14, 2019 13:04
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 pandanote-info/8afe123b58c9fb3cdc3c71a64f45de9c to your computer and use it in GitHub Desktop.
Save pandanote-info/8afe123b58c9fb3cdc3c71a64f45de9c to your computer and use it in GitHub Desktop.
GitHub APIから取得したGitHub Pagesの更新状況を格納するためのテーブルを作成するSQL文。
create table github_pages (
id int(11) not null auto_increment,
filename varchar(768) unique,
description varchar(4096),
created_at datetime,
updated_at datetime,
generated_at timestamp not null default current_timestamp on update current_timestamp,
primary key(id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment