 	,birthdaymonth=10
 	,birthdayyear=1972
 	,isactive=1
-);
-
-loc.user = model("user").create(
+)>
+
+<cfset loc.user = model("user").create(
 	username='perd'
 	,password='perd123'
 	,firstname='Per'

	,birthdaymonth=11
	,birthdayyear=1975
	,isactive=1
);

loc.user = model("user").create(
	username='chrisp'
	,password='chrisp123'
	,firstname='Chris'

	</cfloop>
</cfif>


<!---
create views
 --->
<cfquery name="loc.query" datasource="#application.wheels.dataSourceName#">
CREATE VIEW userphotos AS
SELECT u.id AS userid, u.username AS username, u.firstname AS firstname, u.lastname AS lastname, g.title AS title, g.id AS galleryid
FROM users u INNER JOIN galleries g ON u.id = g.userid
</cfquery>

<!--- populate with data --->
<cfset loc.user = model("user").create(
	username='tonyp'
	,password='tonyp123'
	,firstname='Tony'
