fe9017c8 by astaxie

update the description

1 parent b97279a7
...@@ -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 (
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!