code: def create_upgrades_table(self):
          
  
          query = """CREATE TABLE IF NOT EXISTS {}
                  (
                  id serial NOT NULL,
                  version character varying(50),
                  description character varying(200) NOT NULL,
                  type integer NOT NULL,
                  script character varying(1000) NOT NULL,
                  checksum character varying(32) NOT NULL,
                  installed_by character varying(100) NOT NULL,
                  installed_on timestamp without time zone NOT NULL DEFAULT now(),
                  execution_time integer NOT NULL,
                  success boolean NOT NULL,
                  PRIMARY KEY (id)
                  )
          """.format(self.upgrades_table)
  
          self.cursor.execute(query)
          self.connection.commit()
docs: Create the upgrades information table