Constant diesel::migration::CREATE_MIGRATIONS_TABLE

source ·
pub const CREATE_MIGRATIONS_TABLE: &str = "CREATE TABLE IF NOT EXISTS __diesel_schema_migrations (\n       version VARCHAR(50) PRIMARY KEY NOT NULL,\n       run_on TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP\n);\n";
Expand description

Create table statement for the __diesel_schema_migrations used used by the postgresql, sqlite and mysql backend