--- activitystream.install	2009-05-25 15:56:27.000000000 -0700
+++ activitystream.install.new	2009-05-25 15:56:35.000000000 -0700
@@ -50,7 +50,7 @@
        'userid' => array('type' => 'varchar', 'length' => '255', 'not null' => FALSE),
        'password' => array('type' => 'varchar', 'length' => '255', 'not null' => FALSE),
        'feed' => array('type' => 'varchar', 'length' => '255', 'not null' => FALSE),
-       'lastfetch' => array('type' => 'datetime', 'not null' => TRUE, 'default' => 0)),
+       'lastfetch' => array('type' => 'datetime', 'not null' => TRUE, 'default' => '1970-01-01 00:00:01')),
        );
 
   return $schema;
@@ -89,6 +89,6 @@
 }
 
 function activitystream_update_3() {
-  $ret[] = update_sql("ALTER TABLE {activitystream_accounts} CHANGE COLUMN `lastfetch` `lastfecth` timestamp NOT NULL default '1970-01-01 00:00:01'");
+  $ret[] = update_sql("ALTER TABLE {activitystream_accounts} CHANGE COLUMN `lastfetch` `lastfetch` timestamp NOT NULL default '1970-01-01 00:00:01'");
   return $ret;
 }
