Body: <p>I can see about 10 plugins in the <code>craft_plugins</code> table that have been long removed via the Craft CP panel, and removed from the composer files also.</p>
  
  <p>However when I enable project config, these deleted plugins appear in the plugins section of the yaml file with their status set to 1, which - I think maybe - prevents it being applied to other environments.</p>
  
  <p>Is the best thing to do just manually delete the old plugins from the db? Or is there a 'proper' way to clean them up/out?</p>
  
  <p>(Project is running Craft 3.1.34)</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-07T07:08:44.093Z
Comments.Text: I tried both ways ( by using composer and by manually from CP) *_plugins table is updated whenever a plugin added or removed.
Comments.UserDisplayName: inrsaurabh
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-07T07:17:15.070Z
Comments.Text: So how you removed the plugin?
Comments.UserDisplayName: inrsaurabh
Tags: <craft3><plugins><database>
Title: Deleted plugins still in database? (and reappearing in project.yaml)
ThreadText: # Deleted plugins still in database? (and reappearing in project.yaml)
  
  (Asked by: username_0 on 2019-10-03)
  
  I can see about 10 plugins in the `craft_plugins` table that have been long removed via the Craft CP panel, and removed from the composer files also.
  
  However when I enable project config, these deleted plugins appear in the plugins section of the yaml file with their status set to 1, which - I think maybe - prevents it being applied to other environments.
  
  Is the best thing to do just manually delete the old plugins from the db? Or is there a 'proper' way to clean them up/out?
  
  (Project is running Craft 3.1.34)
  
  **Tags:** craft3, plugins, database
  
  > **Comments:**
  > **username_1**: I tried both ways ( by using composer and by manually from CP) *_plugins table is updated whenever a plugin added or removed.  
  > **username_1**: So how you removed the plugin?  
  
  ---
  
  ## 0 answers
  
  