← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 721762] [NEW] db migration issues

 

Public bug reported:

The production database is different from the code in django

These difference i could find:

Production
CREATE TABLE teams (
    ...
    provides_support boolean DEFAULT true NOT NULL,
    approved boolean DEFAULT false NOT NULL,
    approved_date date,
    expires_date date,
    ...
);

Mine
CREATE TABLE teams (
    ...
    provides_support boolean NOT NULL,
    approved boolean NOT NULL,
    approved_date timestamp with time zone,
    expires_date timestamp with time zone,
    ...
);

** Affects: loco-directory
     Importance: High
         Status: New

** Changed in: loco-directory
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.
https://bugs.launchpad.net/bugs/721762

Title:
  db migration issues

Status in LoCo Directory:
  New

Bug description:
  The production database is different from the code in django

  These difference i could find:

  Production
  CREATE TABLE teams (
      ...
      provides_support boolean DEFAULT true NOT NULL,
      approved boolean DEFAULT false NOT NULL,
      approved_date date,
      expires_date date,
      ...
  );

  Mine
  CREATE TABLE teams (
      ...
      provides_support boolean NOT NULL,
      approved boolean NOT NULL,
      approved_date timestamp with time zone,
      expires_date timestamp with time zone,
      ...
  );



Follow ups

References