我最近在heroku上部署了一个基于flask-postgresql的应用程序,我很惊讶,如表中只有1行数据,数据大小为7.3,如heroku上的postgresql数据库仪表板所示。
::DATABASE=> \d messages;
Table "public.messages"
Column | Type | Modifiers
----------+-----------------------------+-----------------------------------------------------------
msg_id | integer | not null default nextval('messages_msg_id_seq'::regclass)
fullName | character varying(60) |
message | character varying |
ip | character varying(20) |
done | boolean |
pub_date | timestamp without time zone |
Indexes:
"messages_pkey" PRIMARY KEY, btree (msg_id)