table('rice_card_order_remark', array('id' => true, 'primary_key' => ['id'], 'engine' => 'InnoDB', 'comment' => '米卡订单备注表')); $table->addColumn('order_id', 'integer', array('limit' => 11, 'signed' => false, 'default' => 0, 'comment' => '订单id')) ->addColumn('content', 'string', array('limit' => 255, 'default' => '', 'comment' => '备注内容')) ->addColumn('admin_id', 'integer', array('limit' => 11, 'signed' => false, 'default' => 0, 'comment' => '操作人id')) ->addColumn('create_time', 'datetime', array('null' => true, 'comment' => '创建时间')) ->addColumn('update_time', 'datetime', array('null' => true, 'comment' => '更新时间')) ->create(); } }