Merge branch 'features/api-token-v2' into api-token-v2/sync-token-type-and-permissions

This commit is contained in:
Simone Taeggi 2022-09-07 10:43:28 +02:00
commit 38ecaa30dc
3 changed files with 6 additions and 2 deletions

View File

@ -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({

View File

@ -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({

View File

@ -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');
}