Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T think-migration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 刘晨
  • think-migration
  • Merge requests
  • !9

id默认unsigned

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed 刘晨 requested to merge aspirantzhang:master into master Aug 19, 2017
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: aspirantzhang

老版本的phinx默认ID是signed类型,且无法进一步设置。修改后更改为默认unsigned类型,且可以配置signed为true来重置为signed类型。 $this->table('admin')->create(); //ID为unsigned类型 $this->table('admin',['signed' => 'true'])->create(); //ID为signed类型

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: aspirantzhang:master