Skip to content

Commit

Permalink
fix: install fs
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Jun 17, 2022
1 parent 62a0e21 commit 1ce178f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/Ravada.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,9 @@ sub _add_indexes_generic($self) {
my $sth = $CONNECTOR->dbh->prepare($sql);
$sth->execute();
}
my $known2 = $self->_get_indexes($table);
for my $name ( sort keys %$known) {
next if !exists $known2->{$name};
next if $name eq 'PRIMARY' || $name =~ /^constraint_/i || $checked_index->{$name};
warn "INFO: Removing index from $table $name\n"
if !$FIRST_TIME_RUN && $0 !~ /\.t$/;
Expand Down Expand Up @@ -1996,10 +1998,10 @@ sub _sql_create_tables($self) {
,[
domain_filesystems => {
id => 'integer NOT NULL PRIMARY KEY AUTO_INCREMENT'
,id_domain => 'integer(11) NOT NULL references `domains` (`id`) ON DELETE CASCADE'
,id_domain => 'integer NOT NULL references `domains` (`id`) ON DELETE CASCADE'
,source => 'char(120) NOT NULL'
,chroot => 'integer(4) not null default(0)'
,subdir_uid => 'integer not null default(1000)'
,chroot => 'integer(4) not null default 0'
,subdir_uid => 'integer not null default 1000'

}
]
Expand Down

0 comments on commit 1ce178f

Please sign in to comment.