mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 09:30:56 +00:00
update the description
This commit is contained in:
parent
b97279a74f
commit
fe9017c819
@ -7,6 +7,17 @@
|
|||||||
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
// @license http://github.com/astaxie/beego/blob/master/LICENSE
|
||||||
//
|
//
|
||||||
// @authors astaxie
|
// @authors astaxie
|
||||||
|
//
|
||||||
|
// CREATE TABLE `migrations` (
|
||||||
|
// `id_migration` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'surrogate key',
|
||||||
|
// `name` varchar(255) DEFAULT NULL COMMENT 'migration name, unique',
|
||||||
|
// `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'date migrated or rolled back',
|
||||||
|
// `statements` longtext COMMENT 'SQL statements for this migration',
|
||||||
|
// `rollback_statements` longtext,
|
||||||
|
// `status` enum('update','rollback') DEFAULT NULL COMMENT 'update indicates it is a normal migration while rollback means this migration is rolled back',
|
||||||
|
// PRIMARY KEY (`id_migration`),
|
||||||
|
// UNIQUE KEY `name` (`name`)
|
||||||
|
// ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
package migration
|
package migration
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
Reference in New Issue
Block a user