Created
October 28, 2017 04:11
-
-
Save pandanote-info/9b45cb34bc04a6f3704bea81fa28a93f to your computer and use it in GitHub Desktop.
Amazon Product Advertising APIを使った広告で、現在までに作成したものを蓄積するためのMariaDBのテーブルの作成用のSQL文のサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `link_cache` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`card_for_index` varchar(4096) DEFAULT NULL, | |
`sales_rank` integer DEFAULT NULL, | |
`generated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment