profile
viewpoint
Ivan Schütz i-schuetz Berlin, Germany http://ivanschuetz.com iOS and Android freelance developer

i-schuetz/clojushop 43

Online shop backend/api written in Clojure

Co-Epi/app-android 29

Android implementation of CoEpi

i-schuetz/ChartLegends 28

Easy to use and highly customizable chart legends

Co-Epi/mobile-app 25

Initial ReactNative code for CoEpi app for both iOS and Android - this repo is no longer being used, please see app-ios and app-android repo's for latest native code versions

Co-Epi/app-ios 22

iOS implementation of CoEpi

i-schuetz/Android_OpenGL_Picking 8

Android OpenGL picking example

Co-Epi/mvp 6

Repository for initial proof of concept location testing with CoEpi mobile app - this repo is no longer actively used.

i-schuetz/dart_copy_with_plugin 6

Dart copyWith generation plugin

Co-Epi/app-backend-rust 4

iOS/Android shared Rust library for CoEpi

i-schuetz/Android_Coverflow_GL 4

Android coverflow with OpenGL 1.0 (incomplete)

issue closedCo-Epi/app-android

Add proper shadows

E.g. custom path, to use elevation or 9 patch.

closed time in 7 hours

i-schuetz

issue openedCo-Epi/app-android

Add proper shadows

E.g. custom path, to use elevation or 9 patch.

created time in 7 hours

issue closedCo-Epi/app-android

Configure linter

And integrate in CI process. Linter errors should fail the build and not allow to merge PRs.

closed time in 7 hours

i-schuetz

delete branch Co-Epi/app-android

delete branch : design-update

delete time in 7 hours

push eventCo-Epi/app-android

Ivan Schütz

commit sha a09b094345dbb28c02b280d381bdf9830779ddcc

0.4 Design update, fixes (#343)

view details

push time in 7 hours

PR merged Co-Epi/app-android

Design update
+692 -671

0 comment

69 changed files

i-schuetz

pr closed time in 7 hours

issue closedCo-Epi/app-android

Updated UI design

  1. Update main color to #524A8F
  2. Change all button text to black and white (originally purple) Screen Shot 2020-07-21 at 6 17 22 PM Screen Shot 2020-07-21 at 6 17 09 PM

closed time in 7 hours

haskinselena

push eventCo-Epi/app-android

Ivan Schuetz

commit sha e7a8d66bbc4b97d94b6161c2bc1a1a8adee9200d

0.4 Design update, fixes

view details

push time in 8 hours

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 8a7c00a91dc320da3fde4e567d10aa52b9c4ad1f

0.4 Design update, fixes

view details

push time in 8 hours

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 99f10f2289f3688a50b07765ad645289eb6cfdf4

wip

view details

push time in 9 hours

push eventCo-Epi/app-android

Ivan Schuetz

commit sha d26423b1d52f6f384dfa9784f91fdb0d2dc9485c

wip

view details

push time in 10 hours

PR opened Co-Epi/app-android

wip
+340 -399

0 comment

37 changed files

pr created time in a day

create barnchCo-Epi/app-android

branch : design-update

created branch time in a day

delete branch Co-Epi/app-android

delete branch : no-appcenter-debug-build

delete time in a day

push eventCo-Epi/app-android

Ivan Schütz

commit sha 0743c689dfd0f251ce8367ca8e1cb9a4f2e87480

Disable AppCenter for debug builds (#342)

view details

push time in a day

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 5e35caafc7b02ff7d3f37cbb1acfdbf3966ab89c

Disable AppCenter for debug builds

view details

push time in a day

create barnchCo-Epi/app-android

branch : no-appcenter-debug-build

created branch time in a day

issue closedCo-Epi/app-android

On-board screens

  1. Add opening screen
  2. Update copy
  3. Add visuals

Screen Shot 2020-07-21 at 10 52 30 PM

closed time in 2 days

haskinselena

delete branch Co-Epi/app-android

delete branch : onboarding-images

delete time in 2 days

push eventCo-Epi/app-android

Ivan Schütz

commit sha 8fa6f5d435caaffe0c319876db762916b337b6fb

Add onboarding images (#341)

view details

push time in 2 days

PR merged Co-Epi/app-android

Add onboarding images
+449 -113

0 comment

7 changed files

i-schuetz

pr closed time in 2 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 4277152649d4b8dbf9ca3a93becc1db419875ac4

Add onboarding images

view details

push time in 2 days

PR opened Co-Epi/app-android

Add onboarding images
+450 -113

0 comment

7 changed files

pr created time in 2 days

create barnchCo-Epi/app-android

branch : onboarding-images

created branch time in 2 days

delete branch Co-Epi/app-android

delete branch : fix-units

delete time in 2 days

push eventCo-Epi/app-android

Ivan Schütz

commit sha 8bec1c4af9532cd166e1ccb695d718613babd7e7

Fix units & back animation (#340) * Fix units * Fix navigate back animation effect

view details

push time in 2 days

PR merged Co-Epi/app-android

Fix units & back animation
+68 -78

0 comment

11 changed files

i-schuetz

pr closed time in 2 days

PR opened Co-Epi/app-android

Fix units
+68 -78

0 comment

11 changed files

pr created time in 2 days

create barnchCo-Epi/app-android

branch : fix-units

created branch time in 2 days

created tagCo-Epi/app-backend-rust

tag0.1.33

iOS/Android shared Rust library for CoEpi

created time in 2 days

release Co-Epi/app-backend-rust

0.1.33

released time in 2 days

delete branch Co-Epi/app-backend-rust

delete branch : fix-unit-test

delete time in 2 days

push eventCo-Epi/app-backend-rust

Ivan Schütz

commit sha f01a6226dd85439be349efff7a6d7db4527ae24c

Fix unit tests (#147)

view details

push time in 2 days

PR merged Co-Epi/app-backend-rust

Fix unit tests
+16 -14

0 comment

1 changed file

i-schuetz

pr closed time in 2 days

delete branch Co-Epi/app-backend-rust

delete branch : db-migrations

delete time in 3 days

push eventCo-Epi/app-backend-rust

Dusko Ojdanic

commit sha 4d27839d682583623bfa0ef746a92fd6766339ab

Db migrations (#145) * pragma_table_info * switching to using Database struct * test_alter_table_with_data * add column with default value * prep_data_03: core release 0.1.24 * tcn: rename column contact_time to contact_start * test_migration_03_to_04 * core_pragma_update * migration: integration checkpoint * test_create_dependencies_with_migration_03_to_04 * run_db_migrations with required_db_version * refactor and duplicated code removal * cleanup * core_pragma_query<T> * PR comments addresed * added tests * Migration::drop_tcn_table * drop table if exists tcn

view details

push time in 3 days

PR merged Co-Epi/app-backend-rust

Db migrations
+238 -8

3 comments

4 changed files

duskoo

pr closed time in 3 days

PR opened Co-Epi/app-backend-rust

Fix unit tests
+16 -14

0 comment

1 changed file

pr created time in 3 days

push eventCo-Epi/app-backend-rust

Ivan Schuetz

commit sha a785524b454ad756d8172ec9fc918332d19a0cc1

Fix unit tests

view details

push time in 3 days

create barnchCo-Epi/app-backend-rust

branch : fix-unit-test

created branch time in 3 days

delete branch Co-Epi/app-backend-rust

delete branch : improve-measurement-android

delete time in 3 days

push eventCo-Epi/app-backend-rust

Ivan Schütz

commit sha 278a311984995c71768010907c9220d63002b55a

Improve length measure system on Android (#146)

view details

push time in 3 days

push eventCo-Epi/app-backend-rust

Ivan Schuetz

commit sha 504bdcdd73cdfc624447b422bfd9e1b3b0b316bd

Improve length measure system on Android

view details

push time in 3 days

create barnchCo-Epi/app-backend-rust

branch : improve-measurement-android

created branch time in 3 days

delete branch Co-Epi/app-ios

delete branch : change-unit-management

delete time in 3 days

push eventCo-Epi/app-ios

Ivan Schütz

commit sha 0fa583c9f9861ab4db67f2b95eb0b168221453b5

Implement custom length unit system (#355)

view details

push time in 3 days

PR merged Co-Epi/app-ios

Implement custom length unit system

The iOS measurement system doesn't allow to control the granularity (e.g. always prefer feet over miles) and to derive directly the unit from the locale, so switching to a custom system (the same which was implemented for Android).

+483 -440

0 comment

17 changed files

i-schuetz

pr closed time in 3 days

PR opened Co-Epi/app-ios

Implement custom length unit system

The iOS measurement system doesn't allow to control the granularity (e.g. always prefer feet over miles) and to derive directly the unit from the locale, so switching to a custom system (the same which was implemented for Android).

+483 -440

0 comment

17 changed files

pr created time in 3 days

create barnchCo-Epi/app-ios

branch : change-unit-management

created branch time in 3 days

issue commentCo-Epi/app-android

On-board screens

Figma is ok. Though exporting could be helpful if you want to double-check that it's correct.

haskinselena

comment created time in 3 days

issue commentCo-Epi/app-android

On-board screens

@haskinselena Could you please cut the images such that the bottom is exactly at the top of the card and they can be exported respectively as a unit? When exporting for iOS I had to do adjustments per image in the app and this is not good...

haskinselena

comment created time in 3 days

delete branch Co-Epi/app-android

delete branch : feature/learn-more-in-home

delete time in 3 days

push eventCo-Epi/app-android

Ivan Schütz

commit sha 39b7a05fe2b293ad20cf840cd7b48bb78fe75431

Move how does it work to home (#338) * Move "how does it work" to home * Restyle, refactor url loading * Remove unused imports

view details

push time in 3 days

issue closedCo-Epi/app-android

Add new pages and update Homepage

Update Homepage

  1. Remove "How is my data being used"
  2. Add settings wheel at the top - Linked to settings page

Add Settings page

  1. "Show me all reports including 'I don't have any symptoms'" TOGGLE ON
  2. "Only show alerts >5 minutes of interaction TOGGLE OFF
  3. "Only notify me for interactions that occurs <10 feet away" TOGGLE OFF

Screen Shot 2020-07-21 at 7 30 10 PM

Add "How does CoEpi work?" page (linked to the homepage) Link "How is my data being used" to [(https://www.coepi.org/privacy/ )]

Screen Shot 2020-07-21 at 7 30 05 PM

closed time in 3 days

haskinselena

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 8014dc0890fc38eb98dc89e6a5d2fdb9c56c60c8

Remove unused imports

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 7d5d1cc7505ce3c9b860061995529d82359bbcd7

Remove unused imports

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 6433517f2917da15824dfd722077ad8a1c3a9ad2

Restyle, refactor url loading

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 020932ec2f5d79c3c5a548afd7dcf41df3052ef8

Restyle, refactor url loading

view details

push time in 3 days

PR opened Co-Epi/app-android

Move how does it work to home
+159 -123

0 comment

19 changed files

pr created time in 3 days

create barnchCo-Epi/app-android

branch : feature/learn-more-in-home

created branch time in 3 days

issue commentCo-Epi/app-ios

500 nil error message displayed in exposure alerts

That's because the database migrations are not merged yet. It should work if you re-install the app.

scottleibrand

comment created time in 3 days

push eventCo-Epi/app-android

Ivan Schütz

commit sha 15fdf67eeb2aae907cfc6182be4ade88536ab94c

Update locale when app comes to FG (#337)

view details

push time in 3 days

delete branch Co-Epi/app-android

delete branch : feature/update-locale-on-fg

delete time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha f2545fa3378ee3d2fa4297c7ae66307443569c4a

Update locale when app comes to FG

view details

push time in 3 days

create barnchCo-Epi/app-android

branch : feature/update-locale-on-fg

created branch time in 3 days

issue closedCo-Epi/app-android

Fix java.lang.ClassNotFoundException in androidx.fragment.app.FragmentFactory.loadClass (FragmentFactory.java:47)

Version 0.3(3)

Stacktrace

androidx.fragment.app.FragmentFactory.loadClass (FragmentFactory.java:47);

androidx.fragment.app.FragmentFactory.loadFragmentClass (FragmentFactory.java:88);

androidx.fragment.app.Fragment.instantiate (Fragment.java:546);

androidx.fragment.app.FragmentContainer.instantiate (FragmentContainer.java:57);

androidx.fragment.app.FragmentManager$3.instantiate (FragmentManager.java:390);

androidx.navigation.fragment.FragmentNavigator.instantiateFragment (FragmentNavigator.java:132);

androidx.navigation.fragment.FragmentNavigator.navigate (FragmentNavigator.java:162);

androidx.navigation.fragment.FragmentNavigator.navigate (FragmentNavigator.java:58);

androidx.navigation.NavController.navigate (NavController.java:1049);

androidx.navigation.NavController.navigate (NavController.java:935);

androidx.navigation.NavController.navigate (NavController.java:868);

androidx.navigation.NavController.navigate (NavController.java:854);

androidx.navigation.NavController.navigate (NavController.java:1107);

io.reactivex.internal.observers.LambdaObserver.onNext (LambdaObserver.java:63);

io.reactivex.subjects.PublishSubject$PublishDisposable.onNext (PublishSubject.java:308);

io.reactivex.subjects.PublishSubject.onNext (PublishSubject.java:228);

org.coepi.android.databinding.FragmentHomeBindingImpl._internalCallbackOnClick (FragmentHomeBindingImpl.java:171);

org.coepi.android.generated.callback.OnClickListener.onClick (OnClickListener.java:11);

Reason

java.lang.ClassNotFoundException

Link to App Center

closed time in 3 days

scottleibrand
IssuesEvent

issue closedCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

Version 0.3(3)

Stacktrace

org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke;

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:187);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:150);

org.coepi.android.ui.settings.UserSettingsFragment$$special$$inlined$viewModel$1.invoke;

org.coepi.android.ui.settings.UserSettingsFragment.getViewModel;

androidx.fragment.app.Fragment.performCreateView (Fragment.java:2698);

androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:320);

androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1187);

androidx.fragment.app.FragmentManager.addAddedFragments (FragmentManager.java:2224);

androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1997);

androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1953);

androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1849);

androidx.fragment.app.FragmentManager$4.run (FragmentManager.java:413);

Reason

org.koin.core.error.NoBeanDefFoundException

Link to App Center

closed time in 3 days

scottleibrand

issue commentCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

These crashes shouldn't be sent to AppCenter. #318

scottleibrand

comment created time in 3 days

issue closedCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

Version 0.3(3)

Stacktrace

org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke;

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:187);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:150);

org.coepi.android.ui.settings.UserSettingsFragment$$special$$inlined$viewModel$1.invoke;

org.coepi.android.ui.settings.UserSettingsFragment.getViewModel;

androidx.fragment.app.Fragment.performCreateView (Fragment.java:2698);

androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:320);

androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1187);

androidx.fragment.app.FragmentManager.addAddedFragments (FragmentManager.java:2224);

androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1997);

androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1953);

androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1849);

androidx.fragment.app.FragmentManager$4.run (FragmentManager.java:413);

Reason

org.koin.core.error.NoBeanDefFoundException

Link to App Center

closed time in 3 days

scottleibrand

issue commentCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

These crashes shouldn't be sent to AppCenter. #318

scottleibrand

comment created time in 3 days

issue closedCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

Version 0.3(3)

Stacktrace

org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke;

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:187);

androidx.lifecycle.ViewModelProvider.get (ViewModelProvider.java:150);

org.coepi.android.ui.settings.UserSettingsFragment$$special$$inlined$viewModel$1.invoke;

org.coepi.android.ui.settings.UserSettingsFragment.getViewModel;

androidx.fragment.app.Fragment.performCreateView (Fragment.java:2698);

androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:320);

androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1187);

androidx.fragment.app.FragmentManager.addAddedFragments (FragmentManager.java:2224);

androidx.fragment.app.FragmentManager.executeOpsTogether (FragmentManager.java:1997);

androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute (FragmentManager.java:1953);

androidx.fragment.app.FragmentManager.execPendingActions (FragmentManager.java:1849);

androidx.fragment.app.FragmentManager$4.run (FragmentManager.java:413);

Reason

org.koin.core.error.NoBeanDefFoundException

Link to App Center

closed time in 3 days

scottleibrand

issue commentCo-Epi/app-android

Fix android.util.AndroidRuntimeException in android.app.ContextImpl.startActivity (ContextImpl.java:952)

These crashes shouldn't be sent to AppCenter. #318

scottleibrand

comment created time in 3 days

issue commentCo-Epi/app-android

Fix org.koin.core.error.NoBeanDefFoundException in org.coepi.android.di.ModulesKt$viewModelModule$1$5.invoke

These crashes shouldn't be sent to AppCenter. #318

scottleibrand

comment created time in 3 days

issue closedCo-Epi/app-android

Fix java.lang.ClassNotFoundException in androidx.fragment.app.FragmentFactory.loadClass (FragmentFactory.java:47)

Version 0.3(3)

Stacktrace

androidx.fragment.app.FragmentFactory.loadClass (FragmentFactory.java:47);

androidx.fragment.app.FragmentFactory.loadFragmentClass (FragmentFactory.java:88);

androidx.fragment.app.Fragment.instantiate (Fragment.java:546);

androidx.fragment.app.FragmentContainer.instantiate (FragmentContainer.java:57);

androidx.fragment.app.FragmentManager$3.instantiate (FragmentManager.java:390);

androidx.navigation.fragment.FragmentNavigator.instantiateFragment (FragmentNavigator.java:132);

androidx.navigation.fragment.FragmentNavigator.navigate (FragmentNavigator.java:162);

androidx.navigation.fragment.FragmentNavigator.navigate (FragmentNavigator.java:58);

androidx.navigation.NavController.navigate (NavController.java:1049);

androidx.navigation.NavController.navigate (NavController.java:935);

androidx.navigation.NavController.navigate (NavController.java:868);

androidx.navigation.NavController.navigate (NavController.java:854);

androidx.navigation.NavController.navigate (NavController.java:1107);

io.reactivex.internal.observers.LambdaObserver.onNext (LambdaObserver.java:63);

io.reactivex.subjects.PublishSubject$PublishDisposable.onNext (PublishSubject.java:308);

io.reactivex.subjects.PublishSubject.onNext (PublishSubject.java:228);

org.coepi.android.databinding.FragmentHomeBindingImpl._internalCallbackOnClick (FragmentHomeBindingImpl.java:171);

org.coepi.android.generated.callback.OnClickListener.onClick (OnClickListener.java:11);

Reason

java.lang.ClassNotFoundException

Link to App Center

closed time in 3 days

scottleibrand

delete branch Co-Epi/app-android

delete branch : feature/settings-filters

delete time in 3 days

push eventCo-Epi/app-android

Ivan Schütz

commit sha f597e92eb2882bb297e630c983a13d7c2e38270d

User settings (#331) * Implement alert filters, reactive preferences * Implement settings screen * Apply filters * Fix Detekt issues

view details

push time in 3 days

PR merged Co-Epi/app-android

User settings
+835 -71

0 comment

29 changed files

i-schuetz

pr closed time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 0715fb0b23f88d74546037b2f5717af51fa2e437

Fix Detekt issues

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 182a46e262c8186101218c0072a9a1062e7e101d

Apply filters

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 69cf196cc306e39059db774d12f4f85b05c6a475

Implement settings screen

view details

push time in 3 days

push eventCo-Epi/app-android

Ivan Schuetz

commit sha 7dd2049b3432b27cd4700a46d7a6c46d0844e0fb

Implement alert filters, reactive preferences

view details

Ivan Schuetz

commit sha 8772ec91ddb15398e4a864ee7c290dd8f3c0a405

Implement settings screen

view details

push time in 3 days

issue commentCo-Epi/app-ios

500 nil error message displayed in exposure alerts

Can't reproduce it. Is it possible to provide a description?

scottleibrand

comment created time in 4 days

PR opened Co-Epi/app-android

User settings
+909 -22

0 comment

22 changed files

pr created time in 4 days

create barnchCo-Epi/app-android

branch : feature/settings-filters

created branch time in 4 days

Pull request review commentCo-Epi/app-backend-rust

Db migrations

 fn create_dependencies(         alert_dao,     } }+#[cfg(test)]+mod tests {+    use super::*;+    use rusqlite::{params, Row};+++    #[test]+    fn test_create_dependencies_with_migration_from_03_to_04(){

Approving, but suggestion here is to make this test generic. It's better to do something small, like adding a dummy column. Then you can also remove the long SQL script from dependencies.rs.

duskoo

comment created time in 5 days

Pull request review commentCo-Epi/app-backend-rust

Db migrations

 fn create_dependencies(         alert_dao,     } }+#[cfg(test)]+mod tests {+    use super::*;+    use rusqlite::{params, Row};+++    #[test]+    fn test_create_dependencies_with_migration_from_03_to_04(){

The test feels vague to me. If it's testing that create_dependencies executes migrations, it should be more generic. If it's testing that 03->04 (0->1) works, it should test the complete migration, and be in migration.rs.

duskoo

comment created time in 6 days

Pull request review commentCo-Epi/app-backend-rust

Db migrations

+use super::database::Database;+use rusqlite::{params};+use std::sync::Arc;++pub struct Migration {+    database: Arc<Database>,+}++impl Migration {+    pub fn migrate_data_03_to_04(&self) {+        self.database+            .execute_sql(+                "alter table tcn rename column contact_time to contact_start;",+                params![],+            )+            .unwrap();+        self.database+            .execute_sql(+                "alter table tcn add column contact_end integer not null default 0;",+                params![],+            )+            .unwrap();+        self.database+            .execute_sql(+                "alter table tcn add column min_distance real default 32.0;",+                params![],+            )+            .unwrap();+        self.database+            .execute_sql(+                "alter table tcn add column avg_distance real default 56.0;",+                params![],+            )+            .unwrap();+        self.database+            .execute_sql(+                "alter table tcn add column total_count integer default 48;",+                params![],+            )+            .unwrap();+    }++    pub fn new(database: Arc<Database>) -> Migration {+        Migration { database: database }+    }++    pub fn run_db_migrations(&self, required_db_version: i32) {+        let pragma_variable_name = "user_version";+        let mut db_version = self.database.core_pragma_query(pragma_variable_name);+        while db_version < required_db_version {+            match db_version {+                0 => {

Right. Use the database numbers in the function name, then? The migration is 0 -> 1, strictly speaking.

duskoo

comment created time in 6 days

delete branch Co-Epi/app-ios

delete branch : adjust-input-size

delete time in 6 days

more