Added a common database backend implementation.

Added sqlite (proof of concept)
This commit is contained in:
jvelilla
2014-09-17 10:33:37 -03:00
parent fbb5c57b8f
commit 4227b82c7e
37 changed files with 1889 additions and 153 deletions

View File

@@ -1,18 +1,18 @@
{
"database": {
"datasource": {
"driver": "SQL Server",
"environment": "test"
"driver": "MySQL",
"environment": "development"
},
"environments": {
"test": {
"connection_string":"Server=JVELILLA\\SQLEXPRESS;Database=example;Uid=sa;Pwd=Eiffel1405;TrustedConnection=Yes"
"connection_string":"Server=localhost;Port=3306;Database=cms_dev;Uid=root;Pwd=;"
},
"development": {
"connection_string":"Server=sql.ise;Database=ESA_DB_TEST;Uid=eiffel2;Pwd=eiffel2;"
"connection_string":"Server=localhost;Port=3306;Database=cms;Uid=root;Pwd=;"
},
"production": {
"connection_string":"Server=SQLSERVER;Database=LIVE_DATABASE;Uid=XXX;Pwd=YYY;"
"connection_string":""
}
}
},
@@ -24,7 +24,7 @@
"backup_count":"4"
},
"server": {
"mode":"web"
"mode":"api"
}
}