mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-13 16:22:52 +02:00
feat: database migrations
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Defines the schema for the 'analytics' table.
|
||||
|
||||
DEFINE TABLE IF NOT EXISTS analytics SCHEMALESS;
|
||||
|
||||
# Custom fields from the Analytics struct
|
||||
DEFINE FIELD IF NOT EXISTS page_loads ON analytics TYPE number;
|
||||
DEFINE FIELD IF NOT EXISTS visitors ON analytics TYPE number;
|
||||
Reference in New Issue
Block a user