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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions