
// Written by: Owen Healy

package code
package snippet

import net.liftweb.{common, http, util}
import common.{Loggable}
import util.{Helpers}
import scala.xml.{NodeSeq}
import http._
import js._
import JsCmds._
import JE._
import Helpers._

object ClearDatabase
{
    def render =
        "type=submit" #> SHtml.onSubmitUnit({() =>
            model.schema.create_!()
            S.redirectTo("/")
        })
}

