Skip to content

Commit

Permalink
use formatter/linter
Browse files Browse the repository at this point in the history
  • Loading branch information
TokioMiyaoka authored and TokioMiyaoka committed Feb 14, 2023
1 parent 51e8553 commit f8ed9c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ckanext/feedback/feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ def _create_utilization_tables(cursor):
FOREIGN KEY (creator_user_id) REFERENCES public.user (id)
);
CREATE TYPE utilization_comment_category AS ENUM ('Request', 'Question', 'Advertise', 'Thank');
CREATE TYPE utilization_comment_category AS ENUM (
'Request', 'Question', 'Advertise', 'Thank'
);
CREATE TABLE utilization_comment (
id TEXT NOT NULL,
utilization_id TEXT NOT NULL,
Expand Down Expand Up @@ -204,7 +206,9 @@ def _create_utilization_tables(cursor):
def _create_resource_tabels(cursor):
cursor.execute(
"""
CREATE TYPE resource_comment_category AS ENUM ('Request', 'Question', 'Advertise', 'Thank');
CREATE TYPE resource_comment_category AS ENUM (
'Request', 'Question', 'Advertise', 'Thank'
);
CREATE TABLE resource_comment (
id TEXT NOT NULL,
resource_id TEXT NOT NULL,
Expand Down

0 comments on commit f8ed9c9

Please sign in to comment.