Skip to main content

migrate_sql

Function migrate_sql 

Source
pub fn migrate_sql() -> &'static [&'static str]
Expand description

SQL CREATE TABLE IF NOT EXISTS + index statements for the audit table. Run once on a SQL backend via adminx_core::seed(adminx_audit::migrate_sql()). Mongo needs nothing (collections auto-create).