@@ 83-90 (lines=8) @@ | ||
80 | ] |
|
81 | ]; |
|
82 | ||
83 | foreach ($parameters as $parameter) { |
|
84 | $this->addSql(sprintf( |
|
85 | 'INSERT INTO ds_parameter (id, key, value) VALUES (%d, %s, %s);', |
|
86 | ++$i, |
|
87 | $this->connection->quote($parameter['key']), |
|
88 | $this->connection->quote($parameter['value']) |
|
89 | )); |
|
90 | } |
|
91 | ||
92 | $i = 0; |
|
93 | $tenants = [ |
|
@@ 100-109 (lines=10) @@ | ||
97 | ] |
|
98 | ]; |
|
99 | ||
100 | foreach ($tenants as $tenant) { |
|
101 | $this->addSql(sprintf( |
|
102 | 'INSERT INTO ds_tenant (id, uuid, data, created_at, updated_at) VALUES (%d, %s, %s, %s, %s);', |
|
103 | ++$i, |
|
104 | $this->connection->quote($tenant['uuid']), |
|
105 | $this->connection->quote($tenant['data']), |
|
106 | 'now()', |
|
107 | 'now()' |
|
108 | )); |
|
109 | } |
|
110 | ||
111 | $i = 0; |
|
112 | $configs = [ |