mirror of
https://github.com/strapi/strapi.git
synced 2025-08-11 10:18:28 +00:00
Merge branch 'features/api-token-v2' into api-token-v2/sync-token-type-and-permissions
This commit is contained in:
commit
38ecaa30dc
@ -121,7 +121,7 @@ SelectMany.propTypes = {
|
||||
displayNavigationLink: PropTypes.bool.isRequired,
|
||||
isDisabled: PropTypes.bool.isRequired,
|
||||
isLoading: PropTypes.bool.isRequired,
|
||||
loadingMessage: PropTypes.string.isRequired,
|
||||
loadingMessage: PropTypes.func.isRequired,
|
||||
mainField: PropTypes.shape({
|
||||
name: PropTypes.string.isRequired,
|
||||
schema: PropTypes.shape({
|
||||
|
@ -72,7 +72,7 @@ SelectOne.propTypes = {
|
||||
components: PropTypes.object,
|
||||
isDisabled: PropTypes.bool.isRequired,
|
||||
isLoading: PropTypes.bool.isRequired,
|
||||
loadingMessage: PropTypes.string.isRequired,
|
||||
loadingMessage: PropTypes.func.isRequired,
|
||||
mainField: PropTypes.shape({
|
||||
name: PropTypes.string.isRequired,
|
||||
schema: PropTypes.shape({
|
||||
|
@ -24,6 +24,10 @@ class SqliteDialect extends Dialect {
|
||||
fse.ensureDirSync(dbDir);
|
||||
}
|
||||
|
||||
useReturning() {
|
||||
return true;
|
||||
}
|
||||
|
||||
async initialize() {
|
||||
await this.db.connection.raw('pragma foreign_keys = on');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user