droptable if exists user_info; createtable if notexists user_info ( id BIGINT GENERATED BYDEFAULTASIDENTITYNOTNULL, name VARCHAR(30) DEFAULTNULL, age INTDEFAULTNULL, email VARCHAR(50) DEFAULTNULL, mobile VARCHAR(50) DEFAULTNULL, version INTDEFAULT1, gmt_deleted DATETIME DEFAULT'2001-01-01 00:00:00', PRIMARY KEY (id) );
droptable if exists user_role; createtable if notexists user_role ( id BIGINT GENERATED BYDEFAULTASIDENTITYNOTNULL, user_id BIGINTDEFAULTNULL, role_id VARCHAR(30) DEFAULTNULL, PRIMARY KEY (id) );
droptable if exists role_info; createtable if notexists role_info ( id VARCHAR(30) NOTNULL, role_name VARCHAR(30) DEFAULTNULL, PRIMARY KEY (id) );