13 lines
239 B
Go
13 lines
239 B
Go
package build
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"git.secnex.io/secnex/pgson/schema"
|
|
"git.secnex.io/secnex/pgson/utils"
|
|
)
|
|
|
|
func DropSQL(s *schema.Table) (string, error) {
|
|
return fmt.Sprintf("DROP TABLE IF EXISTS %s", utils.SQLQuoteIdent(s.Name)), nil
|
|
}
|