OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Migration
(Results
1 - 2
of
2
) sorted by null
/frameworks/support/room/runtime/src/main/java/androidx/room/migration/
Migration.java
17
package androidx.room.
migration
;
23
* Base class for a database
migration
.
25
* Each
migration
can move between 2 versions that are defined by {@link #startVersion} and
28
* A
migration
can handle more than 1 version (e.g. if you have a faster path to choose when
30
* 3 and latest version is >= 5, Room will use the
migration
object that can migrate from
35
* versions, you should still provide a
Migration
object to the builder.
37
public abstract class
Migration
{
42
* Creates a new
migration
between {@code startVersion} and {@code endVersion}.
45
* @param endVersion The end version of the database after this
migration
is applied.
47
public
Migration
(int startVersion, int endVersion)
[
all
...]
/external/autotest/database/
migrate.py
20
class
Migration
(object):
21
"""Represents a database
migration
."""
35
"""Instantiates a
Migration
from a file.
37
@param filename: Name of a
migration
file.
39
@return An instantiated
Migration
object.
67
"""Performs an up
migration
(to a newer version).
76
"""Performs a down
migration
(to an older version).
93
# A boolean, this will only be set to True if this
migration
should be
145
"""Checks whether the
migration
table exists."""
156
"""Creates the
migration
table.""
[
all
...]
Completed in 66 milliseconds