All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mybatis.uudb-pool.pgsql.xml Maven / Gradle / Ivy





	
		CREATE TABLE IF NOT EXISTS UUDB_POOLS (
			id			SERIAL PRIMARY KEY,
			name		VARCHAR(64) UNIQUE NOT NULL,
			keyType		VARCHAR(64) NOT NULL,
			valueType	VARCHAR(64) NOT NULL
		);
	

	
		CREATE TABLE IF NOT EXISTS UUDB_POOL_ENTRIES (
			id			SERIAL PRIMARY KEY,
			pool		INTEGER,
			entry		VARCHAR(64),
			poolKey		VARCHAR(512) DEFAULT NULL,
			lastAccess	TIMESTAMP,
			freezeTime	TIMESTAMP DEFAULT NULL,
			UNIQUE 		(pool, entry),
			FOREIGN KEY (pool) REFERENCES UUDB_POOLS (id) ON DELETE CASCADE
		);
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy