Browse Source

move database schema to templates folder

tags/1.5
Nico Rey 4 years ago
parent
commit
71043c5c73
2 changed files with 1 additions and 1 deletions
  1. +1
    -1
      migrate_data.sh
  2. +0
    -0
      templates/webpanel_schema.sql

+ 1
- 1
migrate_data.sh View File

@@ -23,7 +23,7 @@ DB_PATH="${NOAA_HOME}/panel.db"
# operations are done over the RAMFS
# partition
cd "${RAMFS_AUDIO}" || exit 1
sqlite3 < "${NOAA_HOME}/panel.sql"
sqlite3 < "${NOAA_HOME}/templates/webpanel_schema.sql"
)




panel.sql → templates/webpanel_schema.sql View File


Loading…
Cancel
Save