title: PostgreSQL SQL Statement to generate custom blob storage table
body: <p>I need to use the awesome-looking <a href="http://django-storages.readthedocs.org/en/latest/backends/database.html" rel="nofollow">django-storages Database storage backend</a> for a current project, but: </p>
  
  <blockquote>
    <p>It can be used to map filenames to database blobs: so you have to use it with a special additional table created manually. The table should contain a pk-column for filenames (better to use the same type that FileField uses: nvarchar(100)), blob field (image type for example) and size field (bigint). </p>
  </blockquote>
  
  <p>I'll admit it. ORM's have spoiled me. Its been a while since I've written an SQL statement, and I'm not at all familiar with PostgreSQL's flavor of SQL &amp; BLOBs. </p>
  
  <p>So, could someone pretty please help me out with a Postgres CREATE TABLE statement with three columns mentioned above (FILE_NAME, BLOB, FILE_SIZE), along with the appropriate column types?</p>