fix: case sensitive
This commit is contained in:
parent
e715b918d5
commit
271d75c35c
2 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,7 @@ CREATE TABLE IF NOT EXISTS note ( -- Models timeline
|
|||
noteEdit set<frozen<note_edit_history>>, -- Edit History
|
||||
updatedAt timestamp,
|
||||
PRIMARY KEY (createdAtDate, createdAt)
|
||||
) WITH CLUSTERING ORDER BY (created_at DESC);
|
||||
) WITH CLUSTERING ORDER BY (createdAt DESC);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS note_by_id ON note (id);
|
||||
CREATE INDEX IF NOT EXISTS note_by_uri ON note (uri);
|
||||
|
|
|
@ -20,7 +20,7 @@ struct Info {
|
|||
applied_at: Duration,
|
||||
}
|
||||
|
||||
const MIGRATION_TABLE: &str = "ck_migrations";
|
||||
const MIGRATION_TABLE: &str = "ff_migrations";
|
||||
|
||||
impl Migrator {
|
||||
pub(crate) fn generate(dir: PathBuf, name: &str) -> Result<(), Error> {
|
||||
|
@ -51,7 +51,7 @@ impl Migrator {
|
|||
factor = config.replication_factor), &[]
|
||||
)
|
||||
.await?;
|
||||
session.use_keyspace(&config.keyspace, false).await?;
|
||||
session.use_keyspace(&config.keyspace, true).await?;
|
||||
session
|
||||
.query(
|
||||
format!(
|
||||
|
|
Loading…
Reference in a new issue