You are here

function filefield_meta_install in FileField 6.2

Same name and namespace in other branches
  1. 5.2 filefield_meta/filefield_meta.install \filefield_meta_install()
  2. 6.3 filefield_meta/filefield_meta.install \filefield_meta_install()

Implementation of hook_install().

File

filefield_meta/filefield_meta.install, line 10
FileField Meta: Add Video Support to File Field.

Code

function filefield_meta_install() {
  db_query('CREATE TABLE {filefield_meta} (
              fid INT UNSIGNED NOT NULL,
              width INT UNSIGNED NOT NULL,
              height INT unsigned NOT NULL,
              duration FLOAT(53),
              PRIMARY KEY (fid)
            )
          ');
}