* Auto-generated Migration: Please modify to your needs!
12
*/
13
final class Version20241007104442_UserTutorial extends AbstractMigration
14
{
15
public function getDescription(): string
16
{
17
return 'User Tutorial Table';
18
}
19
20
public function up(Schema $schema): void
21
{
22
// this up() migration is auto-generated, please modify it to your needs
23
$this->addSql('CREATE TABLE stu_user_tutorial (id INT GENERATED BY DEFAULT AS IDENTITY NOT NULL, module VARCHAR(255) NOT NULL, step INT NOT NULL, user_id INT NOT NULL, PRIMARY KEY(id))');
24
$this->addSql('CREATE INDEX IDX_9840DDF3A76ED395 ON stu_user_tutorial (user_id)');