fixed the id column of the log table for sqlite

This commit is contained in:
hyung-hwan 2021-09-11 01:02:30 +00:00
parent 53951a1c5b
commit 29d4fae266
3 changed files with 5 additions and 5 deletions

View File

@ -5,11 +5,11 @@ FROM rockylinux/rockylinux:latest
RUN dnf install -y epel-release RUN dnf install -y epel-release
# for mysql access, include php-mysqli and perl-DBD-MYSQL # for mysql access, include php-mysqli and perl-DBD-MYSQL
RUN dnf install -y \ RUN dnf install -y --enablerepo=powertools \
subversion subversion-perl \ subversion subversion-perl \
httpd php php-gd php-pdo php-ldap \ httpd php php-gd php-pdo php-ldap \
perl-Digest-SHA perl-Config-Simple \ perl-Digest-SHA perl-Config-Simple \
perl-DBD-SQLite perl-LDAP perl-Mail-Sendmail \ perl-DBD-SQLite perl-LDAP perl-Mail-Sendmail perl-Switch \
mod_dav_svn mod_perl diffutils sqlite mod_dav_svn mod_perl diffutils sqlite
RUN dnf install -y php-devel subversion-devel perl-devel make RUN dnf install -y php-devel subversion-devel perl-devel make

View File

@ -30,9 +30,9 @@ echo "PerlSwitches -Mlib=/etc/codepot/perl" >> /etc/httpd/conf.d/perl.conf && \
sed -ri -e 's|^max_execution_time[[:space:]]*=.*$|max_execution_time = 120|g' /etc/php.ini sed -ri -e 's|^max_execution_time[[:space:]]*=.*$|max_execution_time = 120|g' /etc/php.ini
# mod_perl has dependency on perl-devel which i think is wrong. # mod_perl from the epel repo has dependency on perl-devel.
# so i can't get perl-devel removed. # so i can't get perl-devel removed.
dnf remove -y php-dev subversion-devel make && \ dnf remove -y php-devel subversion-devel make gcc annobin && \
dnf autoremove -y && rm -rf /var/cache/yum/* dnf autoremove -y && rm -rf /var/cache/yum/*
rm -rf /root/.subversion rm -rf /root/.subversion

View File

@ -248,7 +248,7 @@ CREATE TABLE code_review (
CREATE UNIQUE INDEX code_review_index_1 ON code_review(projectid, rev, sno); CREATE UNIQUE INDEX code_review_index_1 ON code_review(projectid, rev, sno);
CREATE TABLE log ( CREATE TABLE log (
id BIGINT PRIMARY KEY, id INTEGER PRIMARY KEY AUTOINCREMENT,
projectid VARCHAR(32) NOT NULL, projectid VARCHAR(32) NOT NULL,
type VARCHAR(16) NOT NULL, type VARCHAR(16) NOT NULL,
action VARCHAR(16) NOT NULL, action VARCHAR(16) NOT NULL,