Skip to content

Commit

Permalink
Merge pull request #321 from evan2645/persist-sqlite-to-disk
Browse files Browse the repository at this point in the history
[#310] Persist sqlite to disk
  • Loading branch information
evan2645 authored Dec 29, 2017
2 parents d07e450 + 99df971 commit 156db7c
Show file tree
Hide file tree
Showing 7 changed files with 173 additions and 451 deletions.
1 change: 1 addition & 0 deletions .data/.file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This directory contains runtime data only. This file serves as a Git placeholder in order to ensure its presence in development environments.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.build*
.cache
.data
.glide
.tmp
*.swp
Expand Down
4 changes: 3 additions & 1 deletion conf/server/plugin/ds_sqlite.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ pluginCmd = "plugin/server/datastore-sqlite/datastore-sqlite"
pluginChecksum = ""
enabled = true
pluginType = "DataStore"
pluginData {}
pluginData {
file_name = "./.data/datastore.sqlite3"
}
84 changes: 0 additions & 84 deletions plugin/server/datastore-sqlite/_migrations/000-initial.up.sql

This file was deleted.

235 changes: 0 additions & 235 deletions plugin/server/datastore-sqlite/migrations.go

This file was deleted.

Loading

0 comments on commit 156db7c

Please sign in to comment.