You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/migrations/20210725211129InitialMigration.ts
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,6 @@ export class InitialMigration extends Migration {
26
26
this.addSql('create table `player_alias` (`id` int unsigned not null auto_increment primary key, `service` varchar(255) not null, `identifier` varchar(255) not null, `player_id` varchar(255) null, `created_at` datetime not null, `updated_at` datetime not null) default character set utf8mb4 engine = InnoDB')
27
27
this.addSql('alter table `player_alias` add index `player_alias_player_id_index`(`player_id`)')
28
28
29
-
this.addSql('create table `event` (`id` int unsigned not null auto_increment primary key, `name` varchar(255) not null, `props` json not null, `game_id` int(11) unsigned not null, `player_alias_id` int(11) unsigned not null, `created_at` datetime not null, `updated_at` datetime not null) default character set utf8mb4 engine = InnoDB')
30
-
this.addSql('alter table `event` add index `event_game_id_index`(`game_id`)')
31
-
this.addSql('alter table `event` add index `event_player_alias_id_index`(`player_alias_id`)')
32
-
33
29
this.addSql('create table `apikey` (`id` int unsigned not null auto_increment primary key, `scopes` text not null, `game_id` int(11) unsigned not null, `created_by_user_id` int(11) unsigned not null, `created_at` datetime not null, `revoked_at` datetime null) default character set utf8mb4 engine = InnoDB')
34
30
this.addSql('alter table `apikey` add index `apikey_game_id_index`(`game_id`)')
35
31
this.addSql('alter table `apikey` add index `apikey_created_by_user_id_index`(`created_by_user_id`)')
@@ -46,9 +42,6 @@ export class InitialMigration extends Migration {
0 commit comments