Skip to content

update Room schema 28#2779

Merged
davigonz merged 1 commit into
masterfrom
RoomScript28
Jan 13, 2020
Merged

update Room schema 28#2779
davigonz merged 1 commit into
masterfrom
RoomScript28

Conversation

@hannesa2
Copy link
Copy Markdown
Contributor

@hannesa2 hannesa2 commented Jan 3, 2020

You changed with 348dcc0 for 2.14.1 the database structure by removing from
@ColumnInfo(name = CAPABILITIES_SHARING_PUBLIC_EXPIRE_DATE_DAYS, defaultValue = "0") the defaultValue.
As follow up, room changed the database structure and this changed file was ignored. -sad-
Because ownCloud use exportSchema = true room is now no more able to open the database -sad-

The tests were fine, because I guess, you do only InMemory database tests. But I didn't checked this.

I don't use the GooglePlaystore and I don't know if you already rolled out this version. If you did it, I would not surprised about a disaster. But I don't know, so please double check this.

This pull request is to demonstrate the changes, and for me it works (because I'm able to make my fixes). But maybe you have to increase database version, make probably a migration fix too and ignore this pull request. But this is out of this pull request scope

@abelgardep
Copy link
Copy Markdown
Contributor

Yes, you are right. Database changed but not the schema. I included it in #2756

@hannesa2
Copy link
Copy Markdown
Contributor Author

hannesa2 commented Jan 8, 2020

Good.
But I would not mix "End of support for <10 servers" (even it is updating the database) with a general fix of database.

Copy link
Copy Markdown
Contributor

@abelgardep abelgardep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hannesa2, moving this forward.

@jesmrec
Copy link
Copy Markdown
Contributor

jesmrec commented Jan 13, 2020

Nothing to teste here... app builds correctly and CI passes. Ready to go.

@davigonz davigonz merged commit 8a2614f into master Jan 13, 2020
@davigonz davigonz deleted the RoomScript28 branch January 13, 2020 11:16
@davigonz
Copy link
Copy Markdown
Contributor

Merged, thanks @hannesa2

@abelgardep abelgardep removed the Sprint label Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants