Implement htmax as auto-htmx selection (#59)
- Move program support items to MyWebLog namespace - Fix parameter ordering in some tests
This commit is contained in:
@@ -267,13 +267,13 @@ type RethinkDbData(conn: Net.IConnection, config: DataConfig, log: ILogger<Rethi
|
||||
do! rethink {
|
||||
withTable Table.WebLog
|
||||
filter (nameof WebLog.Empty.AutoHtmx) true
|
||||
update [ nameof WebLog.Empty.AutoHtmx, "Yes" ]
|
||||
update [ nameof WebLog.Empty.AutoHtmx, "Yes" :> obj ]
|
||||
write; withRetryOnce; ignoreResult conn
|
||||
}
|
||||
do! rethink {
|
||||
withTable Table.WebLog
|
||||
filter (nameof WebLog.Empty.AutoHtmx) false
|
||||
update [ nameof WebLog.Empty.AutoHtmx, "No" ]
|
||||
update [ nameof WebLog.Empty.AutoHtmx, "No" :> obj ]
|
||||
write; withRetryOnce; ignoreResult conn
|
||||
}
|
||||
Utils.Migration.logStep log "v2.2 to v3" "Setting database version to v3"
|
||||
|
||||
Reference in New Issue
Block a user