Giter Club home page Giter Club logo

axth's Introduction

Hi there ๐Ÿ‘‹

axiangcoding's GitHub stats

Top Langs

axth's People

Contributors

axiangcoding avatar axiangcoding1 avatar

axth's Issues

AxthUser.UserID needs to configure the length

2022/05/26 14:35:14 C:/Users/yuxiang_wu/go/pkg/mod/github.com/axiangcoding/[email protected]/enforcer.go:38 Error 1170: BLOB/TEXT column 'user_id' used in key specification without a key length
[1.995ms] [rows:0] CREATE TABLE `axth_users` (`id` bigint unsigned AUTO_INCREMENT,`created_at` datetime(3) NULL,`updated_at` datetime(3) NULL,`deleted_at` datetime(3) NULL,`user_id` longtext,`display_name` varchar(255),`email` va
rchar(255),`phone` varchar(255),`password` varchar(255),`status` varchar(255),`login_failed_count` bigint,`last_login_time` datetime(3) NULL,PRIMARY KEY (`id`),INDEX idx_axth_users_deleted_at (`deleted_at`),UNIQUE INDEX idx_axth_
users_user_id (`user_id`),UNIQUE INDEX idx_axth_users_email (`email`),UNIQUE INDEX idx_axth_users_phone (`phone`))ENGINE=InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_bin
2022-05-26T14:35:14.163+0800    FATAL   auth/axth.go:14 Error 1170: BLOB/TEXT column 'user_id' used in key specification without a key length

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.