// DropTable drop table from db
DropTable drop table from db
// DropTable drop table from db
func (d *Database) DropTable(model interface{}) error {
	err := d.DB.DropTable(model, &orm.DropTableOptions{true, true})
	if err != nil {
		d.Error("DropTable", "Model not drop", err)
		return errors.New("Could not drop table")
	}
	d.Success("DropTable", "Model droped successfully")
	return nil
}
func ( d * Database ) DropTable ( model interface { } ) error { err := d . DB . DropTable ( model , & orm . DropTableOptions { true , true } ) if err != nil { d . Error ( " " , " " , err ) return errors . New ( " " ) } d . Success ( " " , " " ) return nil }
DropTable drop table from db
DropTable drop table from db