diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-11-11 11:54:42 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-11-11 11:54:42 -0500 |
commit | 94506f031c348c3fd0e1f2bb33e8b88dc0d4659f (patch) | |
tree | 22b71d490445c7285dbaa3eec939391b6d327a96 /Makefile | |
parent | abdbac031912a395c7524ad0e6f5c70c918531b2 (diff) | |
download | thedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.tar.gz thedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.tar.bz2 thedroneely.com-94506f031c348c3fd0e1f2bb33e8b88dc0d4659f.zip |
database: Swap to sqlite
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,4 +21,8 @@ cockpit: sed --in-place "s|^hugo_base_dir.*|hugo_base_dir: $$PWD/generators/hugo|" cockpit/addons/Hugo/config.yaml sed --in-place "s|^hugo_theme.*|hugo_theme: tdro|" cockpit/addons/Hugo/config.yaml +migration: + sqlite3 database/sqlite.db < database/contactform.sql + sed --in-place "s|'sql:;dbname=sql_database'|'sqlite:' . __DIR__ . '/database/sqlite.db'|" config.php + .PHONY: generators cockpit |