mysql 添加字段

alter table article_drafts add tag_ids varchar(2048) DEFAULT NULL;
alter table article_drafts add is_protect int(10) DEFAULT NULL;

alter table articles_0 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_0 add is_protect int(10) DEFAULT NULL;

alter table articles_1 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_1 add is_protect int(10) DEFAULT NULL;

alter table articles_2 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_2 add is_protect int(10) DEFAULT NULL;

alter table articles_3 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_3 add is_protect int(10) DEFAULT NULL;

alter table articles_4 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_4 add is_protect int(10) DEFAULT NULL;

alter table articles_5 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_5 add is_protect int(10) DEFAULT NULL;

alter table articles_6 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_6 add is_protect int(10) DEFAULT NULL;

alter table articles_7 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_7 add is_protect int(10) DEFAULT NULL;

alter table articles_8 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_8 add is_protect int(10) DEFAULT NULL;

alter table articles_9 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_9 add is_protect int(10) DEFAULT NULL;

alter table articles_2019-9 add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_2019-9 add is_protect int(10) DEFAULT NULL;

alter table articles_old add tag_ids varchar(2048) DEFAULT NULL;
alter table articles_old add is_protect int(10) DEFAULT NULL;
alter table comment_review_19_9 add admin_id int(10) DEFAULT NULL;
alter table comment_review_19_9 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_19_9 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_19_10 add admin_id int(10) DEFAULT NULL;
alter table comment_review_19_10 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_19_10 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_19_11 add admin_id int(10) DEFAULT NULL;
alter table comment_review_19_11 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_19_11 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_19_12 add admin_id int(10) DEFAULT NULL;
alter table comment_review_19_12 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_19_12 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_1 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_1 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_1 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_2 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_2 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_2 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_3 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_3 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_3 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_4 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_4 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_4 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_5 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_5 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_5 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_6 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_6 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_6 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_7 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_7 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_7 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_8 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_8 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_8 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_9 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_9 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_9 add reviewed_at timestamp null DEFAULT 0;

alter table comment_review_20_10 add admin_id int(10) DEFAULT NULL;
alter table comment_review_20_10 add admin_name varchar(255) DEFAULT NULL;
alter table comment_review_20_10 add reviewed_at timestamp null DEFAULT 0;

 

你可能感兴趣的:(数据库)