Girish Ramakrishnan
f96f7ea96c
db does not use _ convention anymore
2015-02-25 14:59:51 -08:00
Girish Ramakrishnan
750b9ea6f7
Remove migrations baggage
2015-02-25 11:13:42 -08:00
Girish Ramakrishnan
875f7d6c4a
Move code to use mysql
...
GLOB is not supported in mysql. So uses LIKE
password in users table needs 1024 (512 * 2 bytes since it's saved in hex)
just use drop column syntax to remove private/publicPem since the code was replacing with wrong schema for password
change collation to case sensitive
foreign key size must match size http://verysimple.com/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/
Part of #195
2015-02-24 00:27:22 -08:00
Girish Ramakrishnan
5b48c44ed3
Move from sqlite3 to mysql
...
* key is reserved keyword in mysql
Part of #195
2015-02-23 23:42:08 -08:00
Girish Ramakrishnan
2794be118e
Rename restrictAccessTo to accessRestriction
...
Doing a db migration for a column rename is too complex in sqlite,
so the initial schema itself is modified.
(you have to create a new table and copy things over)
2014-11-22 22:16:42 -08:00
Girish Ramakrishnan
d1a500e0ed
Add initial migration scripts
...
Part of #112
2014-10-21 13:38:27 -07:00