I browsed the yii2-oauth2-server code on github and encountered interesting syntax in the migration file. The code in question looks like this:
$this->createTable('{{%oauth_clients}}', [
...
], $tableOptions);
Can someone explain the {{%oauth_clients}}
part? What does it mean when the table name is enclosed in {{%..}}
? The official documentation on migrations says nothing about it and all examples have the "raw" table names like this:
$this->createTable('post_tag', [
...
]);
I checked my database and the table was created as if there were no brackets, its name is simply oauth_clients
.