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 for the attachment table. Run once on a SQL backend via adminx_core::seed(adminx_storage::migrate_sql()). Mongo needs nothing.