Girish Ramakrishnan
fc07c5a564
install and update app using manifest instead of verison
...
Part of #224
2015-02-27 15:09:18 -08:00
Girish Ramakrishnan
f96f7ea96c
db does not use _ convention anymore
2015-02-25 14:59:51 -08:00
Girish Ramakrishnan
285cd1a198
The value for naked domains is the appid and not the location
...
This means that if we change the constant ADMIN_LOCATION the update
scripts will automatically fix up correctly
Part of #119
2015-02-25 13:31:27 -08:00
Girish Ramakrishnan
890a06c4c5
Move admin related constants to separate file
...
Part of #199
2015-02-25 13:31:22 -08:00
Girish Ramakrishnan
7f8fb44795
Cleanup migration scripts
...
Rationale for setupTest: migration scripts are are meant to add one time entries
and schema changes and not for 'updated' values 'updated' values belong in setup
script because migration scrips are only run once
2015-02-25 11:41:05 -08:00
Girish Ramakrishnan
3ef7e75078
Add note that 20141021235251-clients-add-webadmin.js should be removed
2015-02-25 11:18:13 -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
bc60c1a7fc
Generate naked_domain.conf out of appconfig.ejs
...
Set admin as default naked domain in db
It's no different than any other app now
2015-02-12 01:03:26 -08:00
Johannes Zellner
06c0da895b
Fix broken db migration script
2015-02-09 11:10:02 +01:00
Johannes Zellner
f71b96daac
Add db migration for removal of _privatePemCipher and publicPem
2015-02-09 10:53:08 +01:00
Johannes Zellner
d0034764ca
Remove clients.clientId and clients.name from the database
...
clients.clientId is now the same as clients.id and the name will
be provided from the apps.manifest.title
2015-02-06 14:31:55 +01:00
Girish Ramakrishnan
c29e8bc47c
Add appAddonConfigs table
2014-11-28 09:54:54 -08:00
Girish Ramakrishnan
b795684791
Only add webadmin client entry in test mode
2014-11-24 19:25:29 -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
7a4d2c2235
Move schema.sql to migrations/
2014-10-22 11:02:30 -07:00
Girish Ramakrishnan
6864306562
Move naked domain config to settingsdb
2014-10-22 08:44:54 -07:00
Girish Ramakrishnan
ec3bd4763b
Add migration script to add admin to clients by default
2014-10-21 18:32:00 -07:00
Girish Ramakrishnan
d1a500e0ed
Add initial migration scripts
...
Part of #112
2014-10-21 13:38:27 -07:00