Use text instead of varchar

This commit is contained in:
Jesper Axelsson 2020-04-18 12:39:01 +02:00 committed by Ryan Leckey
parent c58b15ce83
commit 70654ff2db

View File

@ -90,7 +90,7 @@ impl DatabaseMigrator for Sqlite {
sqlx::query(
r#"
CREATE TABLE IF NOT EXISTS __migrations (
migration VARCHAR (255) PRIMARY KEY,
migration TEXT PRIMARY KEY,
created TIMESTAMP NOT NULL DEFAULT current_timestamp
);
"#,