 	photogalleryid #loc.identityColumnType#,
 	userid int NOT NULL,
 	title varchar(255) NOT NULL,
-	description text NOT NULL,
-	PRIMARY KEY(photogalleryid)
+	description text NOT NULL
+	<cfif loc.identityColumnType Does Not Contain "PRIMARY KEY">,PRIMARY KEY(photogalleryid)</cfif>
 ) #loc.storageEngine#
 </cfquery>
 

	birthdaymonth int NULL,
	birthdayyear int NULL,
	birthtime #loc.datetimeColumnType# NULL DEFAULT '2000-01-01 18:26:08.690',
	isactive int NULL,
	PRIMARY KEY(id)	
) #loc.storageEngine#
</cfquery>


	id #loc.identityColumnType#,
	authorid int NULL,
	dateofbirth #loc.datetimeColumnType# NOT NULL,
	bio text NULL
	<cfif loc.identityColumnType Does Not Contain "PRIMARY KEY">,PRIMARY KEY(id)</cfif>
) #loc.storageEngine#
</cfquery>

