⚡
Laravel Haystack
View Code On GithubEdit Docs
  • 🎯Getting Started
    • Introduction
    • How It Works
    • Installation
    • Usage
    • Configuration
    • Callback Events
  • 🛰️Cool Features
    • Shared Data
    • Shared Models
    • Long Delays & Pauses
    • Appending & Prepending Jobs
    • Chunking Jobs
  • 🗺️Next Up
    • Allowing Failed Jobs
    • Global Middleware
    • Connection, Queue & Delay
    • Naming Haystacks
    • Before Saving Hook
    • Custom Options
  • 🧼Cleanup
    • Deleting Stale Haystacks
    • Deleting Specific Haystacks
    • Clearing All Haystacks
  • 🛣️Finish
    • Support
    • Star On Github
    • Edit Documentation
Powered by GitBook
On this page
  1. Cleanup

Deleting Specific Haystacks

If a haystack was created by mistake, and you would like to delete it without directly accessing the database, you may use the haystacks:forget command. The haystacks:forget command accepts the ID of the haystack as its only argument:

php artisan haystacks:forget <id>
PreviousDeleting Stale HaystacksNextClearing All Haystacks

Last updated 2 years ago

🧼