 </cfloop>
 
 
-<!--- 
+<!---
 create tables
  --->
-<cfquery name="loc.query" datasource="wheelstestdb">
+<cfquery name="loc.query" datasource="#application.wheels.dataSourceName#">
 CREATE TABLE authors
 (
 	id #loc.identityColumnType#,

) #loc.storageEngine#
</cfquery>

<cfquery name="loc.query" datasource="wheelstestdb">
CREATE TABLE photogalleries
(
	photogalleryid #loc.identityColumnType#,

<cfloop list="#loc.views#" index="loc.i">
	<cfif ListFindNoCase(loc.tableList, loc.i, chr(7))>
		<cftry>
			<cfquery name="loc.query" datasource="#application.wheels.dataSourceName#">
			DROP VIEW #loc.i#
			</cfquery>
			<cfcatch>
