update the description
Showing
1 changed file
with
11 additions
and
0 deletions
| ... | @@ -7,6 +7,17 @@ | ... | @@ -7,6 +7,17 @@ |
| 7 | // @license http://github.com/astaxie/beego/blob/master/LICENSE | 7 | // @license http://github.com/astaxie/beego/blob/master/LICENSE |
| 8 | // | 8 | // |
| 9 | // @authors astaxie | 9 | // @authors astaxie |
| 10 | // | ||
| 11 | // CREATE TABLE `migrations` ( | ||
| 12 | // `id_migration` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'surrogate key', | ||
| 13 | // `name` varchar(255) DEFAULT NULL COMMENT 'migration name, unique', | ||
| 14 | // `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'date migrated or rolled back', | ||
| 15 | // `statements` longtext COMMENT 'SQL statements for this migration', | ||
| 16 | // `rollback_statements` longtext, | ||
| 17 | // `status` enum('update','rollback') DEFAULT NULL COMMENT 'update indicates it is a normal migration while rollback means this migration is rolled back', | ||
| 18 | // PRIMARY KEY (`id_migration`), | ||
| 19 | // UNIQUE KEY `name` (`name`) | ||
| 20 | // ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
| 10 | package migration | 21 | package migration |
| 11 | 22 | ||
| 12 | import ( | 23 | import ( | ... | ... |
-
Please register or sign in to post a comment