-
Notifications
You must be signed in to change notification settings - Fork 159
Database #9
Comments
I manually created a data folder and fido.db file under the application path. That seems to be what it's expecting. Unfortunately that still doesn't create a schema in it. Now I just get the following. Loaded FIDO DB successfully. My guess is that the installer (discussed in another issue thread) is meant to create the DB. I'm also not clear why there is a "dbrelativepath" in appsettings but also a hard-coded path in the constructor. // from Object_Fido_Configs.cs
var fidoSQLite = new SqLiteDB();
# # # #
// from SQLite.cs
public SqLiteDB()
{
const string fidoDB = @"\data\fido.db";
var sFidoDB = Application.StartupPath + fidoDB;
if ((string.IsNullOrEmpty(sFidoDB)) | (!File.Exists(sFidoDB)))
{
Fido_EventHandler.SendEmail("Fido Error", "Fido Failed: {0} Unable to find Fido local DB.");
return;
} |
From what I gather you're right, you need more than just a fido.db, you need the full schema. Looks like a good chunk of the "config" schema is on the wiki, but no doubt there is significantly more to the schema than just the Config table and the various Configs_ tables as shown here: |
Guys, Thanks for posting. This was something I wasn't able to get out before release, but I'll have a working DB build script out next week. Thanks. |
+1 |
Hi Rob. I just wanted to check back with you regarding the DB build script. |
Je suis absent(e) du bureau jusqu'au 30/07/2015 Je r�pondrai � votre message d�s mon retour. En cas d'urgence, vous pouvez I'm currently out of office. In case of emergency, please contact this mail Cdlt / Best regards N VERDIER Remarque�: ceci est une r�ponse automatique � votre message "Re: [Fido] C'est la seule notification que vous recevrez pendant l'absence de cette |
Is there a database creation script somewhere? I could only find the table descriptions in the wiki.
The text was updated successfully, but these errors were encountered: