Skip to content

Instantly share code, notes, and snippets.

@pandanote-info
Created July 14, 2019 13:04
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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