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 statements for the RBAC tables. Run once on a SQL backend via adminx_core::seed(adminx_rbac::migrate_sql()). Mongo needs nothing (collections auto-create). See schema for the dialect note.