save when users were created

This commit is contained in:
Athou
2013-06-16 18:31:21 +02:00
parent 897b482698
commit 968a911ccf
3 changed files with 20 additions and 1 deletions

View File

@@ -215,6 +215,13 @@
<changeSet author="athou" id="norwegian-migration">
<sql>update USERSETTINGS set user_lang='nb' where user_lang='no'</sql>
</changeSet>
<changeSet author="athou" id="add-user-created">
<addColumn tableName="USERS">
<column name="created" type="DATETIME" />
</addColumn>
<sql>update USERS set created = lastLogin</sql>
</changeSet>
</databaseChangeLog>