package core

import (
	"dbweb/lib/tempext"

	"github.com/linlexing/dbx/schema"
)

func init() {
	tempext.FuncMap["TypeString"] = func() schema.DataType {
		return schema.TypeString
	}
	tempext.FuncMap["TypeBytea"] = func() schema.DataType {
		return schema.TypeBytea
	}
	tempext.FuncMap["TypeDatetime"] = func() schema.DataType {
		return schema.TypeDatetime
	}
	tempext.FuncMap["TypeFloat"] = func() schema.DataType {
		return schema.TypeFloat
	}
	tempext.FuncMap["TypeInt"] = func() schema.DataType {
		return schema.TypeInt
	}
}
