Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
Text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
text
I am bad
Text
Text
Text
Text
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
safe_mode_extensions
key in your config.php
file. ({extensions})"
section_label: Maintenance
+ pgsql:
+ search_configuration: Search configuration to use
search:
section_label: Search Drivers
driver_heading: "Search Driver: {model}"
@@ -211,6 +213,7 @@ core:
extension:
configure_scopes: Configure Scopes
confirm_purge: Purging will remove all database entries and assets related to the extension. It will not uninstall the extension; that must be done via Composer. Are you sure you want to continue?
+ database_driver_mismatch: This extension does not support your configured database driver.
disabled: Disabled
enable_to_see: Enable the extension to view and change settings.
enabled: Enabled
@@ -698,6 +701,7 @@ core:
# These translations are displayed as error messages.
error:
circular_dependencies_message: "Circular dependencies detected: {extensions}. Aborting. Please disable one of the extensions and try again."
+ db_error_message: "Database query failed. This may be caused by an incompatibility between an extension and your database driver."
dependent_extensions_message: "Cannot disable {extension} until the following dependent extensions are disabled: {extensions}"
extension_initialiation_failed_message: "{extension} failed to initialize, check the browser console for further information."
generic_message: "Oops! Something went wrong. Please reload the page and try again."
diff --git a/framework/core/migrations/2015_02_24_000000_create_posts_table.php b/framework/core/migrations/2015_02_24_000000_create_posts_table.php
index 412fe8d983..f822064310 100644
--- a/framework/core/migrations/2015_02_24_000000_create_posts_table.php
+++ b/framework/core/migrations/2015_02_24_000000_create_posts_table.php
@@ -32,11 +32,10 @@
$table->unique(['discussion_id', 'number']);
});
- $connection = $schema->getConnection();
- $prefix = $connection->getTablePrefix();
-
- if ($connection->getDriverName() !== 'sqlite') {
- $connection->statement('ALTER TABLE '.$prefix.'posts ADD FULLTEXT content (content)');
+ if ($schema->getConnection()->getDriverName() !== 'sqlite') {
+ $schema->table('posts', function (Blueprint $table) {
+ $table->fullText('content');
+ });
}
},
diff --git a/framework/core/migrations/2018_01_11_093900_change_access_tokens_columns.php b/framework/core/migrations/2018_01_11_093900_change_access_tokens_columns.php
index 303f2027fe..09b392e0c9 100644
--- a/framework/core/migrations/2018_01_11_093900_change_access_tokens_columns.php
+++ b/framework/core/migrations/2018_01_11_093900_change_access_tokens_columns.php
@@ -26,11 +26,22 @@
$table->integer('user_id')->unsigned()->change();
});
- // Use a separate schema instance because this column gets renamed
- // in the previous one.
- $schema->table('access_tokens', function (Blueprint $table) {
- $table->dateTime('last_activity_at')->change();
- });
+ if ($schema->getConnection()->getDriverName() === 'pgsql') {
+ $prefix = $schema->getConnection()->getTablePrefix();
+
+ // Changing an integer col to datetime is an unusual operation in PostgreSQL.
+ $schema->getConnection()->statement(<<foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar
foo bar