old_contents: import peewee
  
  db = peewee.MySQLDatabase('snake_sort', user='snake', passwd='password')
  
  
  class match(peewee.Model):
      match_id = peewee.IntegerField()
      blue1 = peewee.CharField()
      blue2 = peewee.CharField()
      red1 = peewee.CharField()
      red2 = peewee.CharField()
  
      class Meta:
          database = db
  
  
  def create_tables():
      match.create_table()
  
new_contents: import peewee
  
  db = peewee.MySQLDatabase('snake_sort', user='snake', passwd='password')
  
  
  class match(peewee.Model):
      """Table storing all the match data.
  
      Args:
          match_id(int): Id of the match.
          blue1(char): Blue Team Name 1.
          blue2(char): Blue Team Name 2.
          red1(char): Red Team Name 1.
          red2(char): Red Team Name 2.
      """
      match_id = peewee.IntegerField()
      blue1 = peewee.CharField()
      blue2 = peewee.CharField()
      red1 = peewee.CharField()
      red2 = peewee.CharField()
  
      class Meta:
          database = db
  
  
  def create_tables():
      match.create_table()
  
subject: Comment database file