Update ecdb.sql

I have fix so that the date you registered on will be written in to the database.