Results 1 to 6 of 6

Thread: DB Schema Change....

  1. #1
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default DB Schema Change....

    As part of our 5.0 release process, we are working through the schema and making some changes that will improve consistency.

    Here are two of the current items. I wanted to give as much of a heads up as possible to the community.

    1) Ensuring consistent boolean database types
    · Changing existing ‘on’,’off’,’yes’,’no’ values to be stored as 0 or 1
    · Changing the database column type to the appropriate type (no more varchar, enums)
    · Changing vardefs.php files to reflect new schema changes

    2) Resolving Date and Time column storage differences where they are related within the same module
    · Merging time (hh:mm:ss) value with date column
    · Removing time column
    · Changing database column type for affected db types accordingly
    · Changing vardefs.php files to reflect new schema changes


    Jacob

  2. #2
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: DB Schema Change....

    Quote Originally Posted by Jacob
    2) Resolving Date and Time column storage differences where they are related within the same module
    Hi

    This is a good change for a developer if it also means a custom field can support a date&time field.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  3. #3
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: DB Schema Change....

    That is the plan.

  4. #4
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: DB Schema Change....

    One other thing I would like to see is the ability to choose between a drop down or multi-select on the same custom field. I would also like to have the concept of Custom Relationship that can be defined within the studio. this would allow for more extensive relationship creation between existing modules that may not be aware of a potential relationship especially in dealing with 3rd party modules.
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



  5. #5
    longreach Guest

    Default Re: DB Schema Change....

    Right now, building a multi-select field in the system, and maintaining the ability to report and filter on it - is not an easy job. Not sure what current plans may be on this front.

  6. #6
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: DB Schema Change....

    I think that I did something similar a week or two ago (but I did it for the search view). I changed the application to have an additional search field that was a drop down, but I wanted it displayed as a multi-select field. This involved primarily changing the var-def definition of the element. Is this what you are looking for?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Install step 7: Not loading db schema
    By BrianJacobs in forum Installation and Upgrade Help
    Replies: 22
    Last Post: 2007-07-26, 11:36 PM
  2. How to change current_user system wide
    By ElChef in forum Developer Help
    Replies: 0
    Last Post: 2006-06-17, 10:47 AM
  3. Replies: 0
    Last Post: 2006-06-10, 04:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •