<?php


class PopulateAttachmentTable extends Seeder
{
	public function run()
	{
		DB::table('attachments')->delete();

		$attachment = new Attachment();
		$attachment->name = 'Free Beer Voucher';
		$attachment->address = 'http://www.google.co.uk';
		$attachment->place()->associate(Place::find(1));
		$attachment->save();

	}
}

