Amazon Product Advertising APIを使った広告で、現在までに作成したものを蓄積するためのMariaDBのテーブルの作成用のSQL文のサンプル
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