Create a New Static URL Field

// Since IJC 5.12
import com.im.commons.db.ddl.GenericColumnType

def ety = dataTree.rootVertex.entity
ety.schema.lockable.withLock('Create the new static URL field'){ envRW ->
DFFields.createStaticURLField(ety, "My URL", "URL", 1000, "text/html", envRW)
}

Versions: This script has been tested on IJC version 6.0


Copyright © 1999-2012 ChemAxon Ltd.    All rights reserved.