mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-03 09:01:01 +00:00
Use text instead of varchar
This commit is contained in:
committed by
Ryan Leckey
parent
c58b15ce83
commit
70654ff2db
@@ -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
|
||||
);
|
||||
"#,
|
||||
|
||||
Reference in New Issue
Block a user