Sha256: 25f4ac0e87b55d4d8559c02c7b740674a46e98a59e1da7e094b902e3c764abc3
Contents?: true
Size: 683 Bytes
Versions: 15
Compression:
Stored size: 683 Bytes
Contents
# encoding: utf-8 module BeerDb class Deleter include Models def run # for now delete all tables ### fix: use if defined? BeerDbNote or similar or/and check if table exist ?? ### or move to beerdb-note ?? ## Bookmark.delete_all # db model extension - move to its own addon? ## Drink.delete_all # db model extension - move to its own addon? ## Note.delete_all # db model extension - move to its own addon? ## User.delete_all # db model extension - move to its own addon? Beer.delete_all Brand.delete_all Brewery.delete_all end end # class Deleter end # module BeerDb
Version data entries
15 entries across 15 versions & 2 rubygems