---
title: "修改表结构 列名"
author: "myfreespace"
date: "2011-04-20T18:07:43Z"
tags: []
categories: ["数据库"]
slug: "untitled"
draft: false
lastmod: "2011-04-20T18:07:43Z"
id: 1010244
url: "https://myfreespace.iteye.com/blog/1010244"
---

alter table tb\_tealecture\_reply change reply\_to\_id  rep\_to\_id varchar(32)

 alter table tb\_tealecture\_reply change reply\_to\_name  rep\_to\_name varchar(32)

 修改表

 

 alter table  tb\_tealecture\_comment add com\_coment\_type tinyint(2) 

 

 alter table  tb\_tealecture\_reply add reply\_to\_id varchar(32) 

 alter table  tb\_tealecture\_reply add reply\_to\_name varchar(32)