Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 535bc41

Browse filesBrowse files
gabidavilakurtisvg
authored andcommitted
Update CHAR to VARCHAR in Cloud SQL sample (GoogleCloudPlatform#2080)
1 parent eef7f5b commit 535bc41
Copy full SHA for 535bc41

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
  • cloud-sql/postgres/sqlalchemy
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cloud-sql/postgres/sqlalchemy/main.py

Copy file name to clipboardExpand all lines: cloud-sql/postgres/sqlalchemy/main.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def create_tables():
8989
conn.execute(
9090
"CREATE TABLE IF NOT EXISTS votes "
9191
"( vote_id SERIAL NOT NULL, time_cast timestamp NOT NULL, "
92-
"candidate CHAR(6) NOT NULL, PRIMARY KEY (vote_id) );"
92+
"candidate VARCHAR(6) NOT NULL, PRIMARY KEY (vote_id) );"
9393
)
9494

9595

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.