Giter Club home page Giter Club logo

Comments (7)

BadChoice avatar BadChoice commented on August 26, 2024 1

Nice one hehe, we have two options

  • Put a default name if none in the email
  • Make the name nullable

from handesk.

marco-aa avatar marco-aa commented on August 26, 2024

I guess nullable is fine.

A default like "unknow" can cause a reply by a supporter - who is reading the name - like "Hello my Unknow"
So better nullable i think

from handesk.

marco-aa avatar marco-aa commented on August 26, 2024

Hello again ;)

the error occurt again in production - at the moment as a workaround i test

alter table requesters modify name varchar(191) null;

if you think we can leave the field nullable (side effect with forms and objects ???)

i can make a migraion to fix this error. What do you think ?

from handesk.

BadChoice avatar BadChoice commented on August 26, 2024

ops,
yes please, I'll merge it;, make it nullable and we will be ready to go :D

from handesk.

BadChoice avatar BadChoice commented on August 26, 2024

Just fixed this!

from handesk.

BadChoice avatar BadChoice commented on August 26, 2024

from handesk.

brijesh138 avatar brijesh138 commented on August 26, 2024

Column 'name' cannot be null

INSERT INTO ci_crud (name, email, created_at) VALUES (NULL, NULL, '21-01-06')

Filename: C:/xampp/php/htdocs/crud/crud_ci320/system/database/DB_driver.php

Line Number: 691
please give solution

from handesk.

Related Issues (20)

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.