Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded Trac dump to the version 45. #1265

Merged
merged 2 commits into from
Nov 4, 2022
Merged

Upgraded Trac dump to the version 45. #1265

merged 2 commits into from
Nov 4, 2022

Conversation

apollo13
Copy link
Member

@apollo13 apollo13 commented Nov 4, 2022

Changes in preparation for Trac 1.4, those can be deployed ahead of time (ie with the next deployment)

@apollo13 apollo13 requested a review from felixxm November 4, 2022 18:44
@felixxm
Copy link
Member

felixxm commented Nov 4, 2022

@apollo13 Thanks 👍 I'm getting a smaller and different diff when upgrading to 1.4 🤔

diff --git a/tracdb/trac.sql b/tracdb/trac.sql
index 1353924..e5920a6 100644
--- a/tracdb/trac.sql
+++ b/tracdb/trac.sql
@@ -2,8 +2,8 @@
 -- PostgreSQL database dump
 --
 
--- Dumped from database version 10.20
--- Dumped by pg_dump version 10.20
+-- Dumped from database version 12.12
+-- Dumped by pg_dump version 12.12
 
 SET statement_timeout = 0;
 SET lock_timeout = 0;
@@ -16,23 +16,9 @@ SET xmloption = content;
 SET client_min_messages = warning;
 SET row_security = off;
 
---
--- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
---
-
-CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
-
-
---
--- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
---
-
-COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
-
-
 SET default_tablespace = '';
 
-SET default_with_oids = false;
+SET default_table_access_method = heap;
 
 --
 -- Name: attachment; Type: TABLE; Schema: public; Owner: code.djangoproject
@@ -45,8 +31,7 @@ CREATE TABLE public.attachment (
     size integer,
     "time" bigint,
     description text,
-    author text,
-    ipnr text
+    author text
 );
 
 
@@ -99,7 +84,8 @@ ALTER TABLE public.component OWNER TO "code.djangoproject";
 CREATE TABLE public.enum (
     type text NOT NULL,
     name text NOT NULL,
-    value text
+    value text,
+    description text
 );
 
 
@@ -597,7 +583,6 @@ CREATE TABLE public.wiki (
     version integer NOT NULL,
     "time" bigint,
     author text,
-    ipnr text,
     text text,
     comment text,
     readonly integer
@@ -773,8 +758,8 @@ ALTER TABLE ONLY public.ticket ALTER COLUMN id SET DEFAULT nextval('public.ticke
 -- Data for Name: system; Type: TABLE DATA; Schema: public; Owner: code.djangoproject
 --
 
-INSERT INTO public.system (name, value) VALUES ('database_version', '41');
 INSERT INTO public.system (name, value) VALUES ('spamfilter_version', '4');
+INSERT INTO public.system (name, value) VALUES ('database_version', '45');
 
 
 --

@apollo13
Copy link
Member Author

apollo13 commented Nov 4, 2022

Ah yes, please apply yours, I have imported mine from djangoproject.com, yours looks good.

@felixxm felixxm changed the title Trac upgrade work Upgraded Trac dump to the version 45. Nov 4, 2022
@felixxm
Copy link
Member

felixxm commented Nov 4, 2022

Updated 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants