Skip to content

Commit

Permalink
rename genre1/genre2 in the function of drop table
Browse files Browse the repository at this point in the history
  • Loading branch information
TokioMiyaoka authored and TokioMiyaoka committed Feb 14, 2023
1 parent f8ed9c9 commit be7f6e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/feedback/feedback.py
Expand Up @@ -110,7 +110,7 @@ def _drop_utilization_tables(cursor):
DROP TABLE IF EXISTS issue_resolution CASCADE;
DROP TABLE IF EXISTS utilization_comment CASCADE;
DROP TABLE IF EXISTS utilization_summary CASCADE;
DROP TYPE IF EXISTS genre1;
DROP TYPE IF EXISTS utilization_comment_category;
"""
)

Expand All @@ -121,7 +121,7 @@ def _drop_resource_tables(cursor):
DROP TABLE IF EXISTS resource_comment CASCADE;
DROP TABLE IF EXISTS resource_comment_reply CASCADE;
DROP TABLE IF EXISTS resource_comment_summary CASCADE;
DROP TYPE IF EXISTS genre2;
DROP TYPE IF EXISTS resource_comment_category;
"""
)

Expand Down Expand Up @@ -235,7 +235,7 @@ def _create_resource_tabels(cursor):
FOREIGN KEY (creator_user_id) REFERENCES public.user (id)
);
CREATE TABLE reource_comment_summary (
CREATE TABLE resource_comment_summary (
id TEXT NOT NULL,
resource_id TEXT NOT NULL,
comment INTEGER,
Expand Down

0 comments on commit be7f6e5

Please sign in to comment.