
ALTER TABLE items ADD `token` VARCHAR(10) AFTER ipfs_url;
ALTER TABLE items MODIFY price DOUBLE(16,8);

ALTER TABLE items MODIFY category_id bigint(20) unsigned; //これはtemporary. NOT NULL に戻すこと
ALTER TABLE items MODIFY blockchain varchar(255);
ALTER TABLE items MODIFY blockchain_hash varchar(255);
ALTER TABLE items MODIFY ipfs_url varchar(255);
ALTER TABLE items MODIFY token varchar(255);


ALTER TABLE items ADD `put_for_sell_at` timestamp NULL DEFAULT NULL after resale_royalty;

update items set put_for_sell_at = NOW() where id = 71;