DROP INDEX media_tag_tag_id_idx;
DROP INDEX media_tag_media_id_idx;
DROP TABLE media_tag;
DROP INDEX tag_display_idx;
DROP INDEX tag_name_kind_id_idx;
DROP INDEX tag_name_idx;
DROP TABLE tag;
DROP TABLE kind;
DROP TABLE media;
