old_contents: import sys
  
  sys.path.append("../")
  
  from CURD import Database, Model, Field, PrimaryKey, ForeignKey, Sugar
  
  
  class User(Model):
      name = Field()
      email = Field()
  
  
  class Post(Model):
      name = Field()
      post_id = PrimaryKey()
      user_id = ForeignKey(User.id)
  
  
  Database.config(db="mydb", user="root", passwd="")
  
new_contents: import sys
  
  sys.path.append("../")
  
  from CURD import Database, Model, Field, PrimaryKey, ForeignKey, Sugar
  
  
  class User(Model):
      name = Field()
      email = Field()
  
  
  class Post(Model):
      name = Field()
      post_id = PrimaryKey()
      user_id = ForeignKey(User.id)
  
  # configure Database
  Database.config(db="mydb", user="root", passwd="")
  
subject: add comment to Database.config