Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docker/bigquery/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ projects:
type: DATE
- id: flags
columns:
- name: id
type: INT64
- name: attachment_id
type: INT64
- name: bug_id
Expand All @@ -105,6 +107,8 @@ projects:
type: DATE
- id: tracking_flags
columns:
- name: id
type: INT64
- name: bug_id
type: INT64
- name: name
Expand Down
12 changes: 0 additions & 12 deletions extensions/BMO/Extension.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1396,12 +1396,6 @@ sub db_schema_abstract_schema {
bmo_etl_cache_uniq_idx => {FIELDS => ['id', 'table_name'], TYPE => 'UNIQUE'}
],
};
$args->{schema}->{bmo_etl_locked} = {
FIELDS => [
value => {TYPE => 'VARCHAR(20)', NOTNULL => 1,},
creation_ts => {TYPE => 'DATETIME',},
],
};
}

sub install_update_db {
Expand Down Expand Up @@ -1589,12 +1583,6 @@ sub install_update_db {
});
}

# Add bmo_etl_locked.creation_ts column
if (!$dbh->bz_column_info('bmo_etl_locked', 'creation_ts')) {
$dbh->bz_add_column('bmo_etl_locked',
'creation_ts' => {TYPE => 'DATETIME'});
}

# Add unique index for id and table name for bmo_etl_cache
$dbh->bz_add_index('bmo_etl_cache', 'bmo_etl_cache_uniq_idx',
{FIELDS => ['id', 'table_name'], TYPE => 'UNIQUE'});
Expand Down
Loading