#9 Active Storage - PG::ForeignKeyViolation
This commit is contained in:
parent
031e353737
commit
7628f3b0f7
4
.github/workflows/rubyonrails.yml
vendored
4
.github/workflows/rubyonrails.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
|||||||
# SQL commands to create a database for Redmine
|
# SQL commands to create a database for Redmine
|
||||||
sql1: CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'redmine' NOINHERIT VALID UNTIL 'infinity';
|
sql1: CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'redmine' NOINHERIT VALID UNTIL 'infinity';
|
||||||
sql2: CREATE DATABASE test WITH ENCODING='UTF8' OWNER=redmine;
|
sql2: CREATE DATABASE test WITH ENCODING='UTF8' OWNER=redmine;
|
||||||
sql3: ALTER USER redmine CREATEDB;
|
sql3: ALTER USER redmine CREATEDB;ALTER ROLE redmine WITH SUPERUSER;
|
||||||
# SQL client command
|
# SQL client command
|
||||||
database_command: sudo -u postgres psql -c
|
database_command: sudo -u postgres psql -c
|
||||||
# SQL service
|
# SQL service
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
if [[ "${{matrix.database_command}}" ]]; then
|
if [[ "${{matrix.database_command}}" ]]; then
|
||||||
${{matrix.database_command}} "${{matrix.sql1}}"
|
${{matrix.database_command}} "${{matrix.sql1}}"
|
||||||
${{matrix.database_command}} "${{matrix.sql2}}"
|
${{matrix.database_command}} "${{matrix.sql2}}"
|
||||||
${{matrix.database_command}} "${{matrix.sql3}}"
|
${{matrix.database_command}} "${{matrix.sql3}}"
|
||||||
fi
|
fi
|
||||||
- name: Configure WebDAV
|
- name: Configure WebDAV
|
||||||
# Add configuration for WebDAV to work
|
# Add configuration for WebDAV to work
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user