[0.65.0] Modified the database schema to address DataStore2 behaviour #130
Windows81
announced in
Breaking Changes; Migration Considerations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you're getting the following error:
...
You have the following two options:
persistencetable to include a new columntypeof typeTEXT NOT NULL.scope,target,keyscope,target,key,type.sqlitedatabase file.Why did I make this change?
In Rōblox, ordered data stores of the same name do not collide with unordered data stores.
Versions of RFD prior to 0.65.0 made it so that
DataStoreService:GetOrderedDataStore("test")would access the same data asDataStoreService:GetDataStore("test"). This was wrong behaviour and would cause DataStore2 to break.For example:
https://github.com/Kampfkarren/Roblox/blob/cc8fec7045b5db0ae2fb03f03f537ec6d028b5ba/DataStore2/SavingMethods/OrderedBackups.lua#L60
Beta Was this translation helpful? Give feedback.
All reactions