[Koha-bugs] [Bug 31172] New: Shouldn't issues.issuedate have a DEFAULT NOW() and be NOT NULL?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 18 12:55:14 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31172

            Bug ID: 31172
           Summary: Shouldn't issues.issuedate have a DEFAULT NOW() and be
                    NOT NULL?
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Database
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org

We are currently defaulting to dt_from_string in code, we could just set `NOT
NULL DEFAULT NOW()` to get a more consistent behaviour couldn't we?

I see this as a good starting place for moving C4::Circulation::AddIssue to
Koha::Checkouts->store() eventually.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list