ubuntu-bengali-manual team mailing list archive
-
ubuntu-bengali-manual team
-
Mailing list archive
-
Message #04201
[Bug 721762] Re: db migration issues
** Description changed:
The production database is different from the code in django
These difference i could find:
+ Mine
+ CREATE TABLE teams (
+ ...
+ provides_support boolean DEFAULT true NOT NULL,
+ approved boolean DEFAULT false NOT NULL,
+ approved_date date,
+ expires_date date,
+ ...
+ );
+
Production
CREATE TABLE teams (
- ...
- provides_support boolean DEFAULT true NOT NULL,
- approved boolean DEFAULT false NOT NULL,
- approved_date date,
- expires_date date,
- ...
+ ...
+ provides_support boolean NOT NULL,
+ approved boolean NOT NULL,
+ approved_date timestamp with time zone,
+ expires_date timestamp with time zone,
+ ...
);
-
- 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,
- ...
- );
--
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:
Mine
CREATE TABLE teams (
...
provides_support boolean DEFAULT true NOT NULL,
approved boolean DEFAULT false NOT NULL,
approved_date date,
expires_date date,
...
);
Production
CREATE TABLE teams (
...
provides_support boolean NOT NULL,
approved boolean NOT NULL,
approved_date timestamp with time zone,
expires_date timestamp with time zone,
...
);
References