mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Use text instead of varchar
This commit is contained in:
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
|
||||
);
|
||||
"#,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user