Skip to content

Add new function to clear database tables  #16

Description

@ishehata

This could be very useful for testing, as gofixutres could be used as a library to setup testing data and then clear the database at the end of each test. in order to do that a clear function is needed, as a library function and as a cli command.

For that purpose the CLI should have commands instead of just assuming loading data each time, so these commands could be

  • load : which loads data from files
  • clear : which clears database
  • version: which shows current version of the gofixtures cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions