1 class CreateMetadata < ActiveRecord::Migration
3 create_table :metadata do |t|
5 t.string :created_by_client
6 t.string :created_by_user
8 t.string :modified_by_client
9 t.string :modified_by_user
10 t.datetime :modified_at
13 t.references :native_target, :polymorphic => true
14 t.string :metadatum_class
17 t.text :info # "unlimited length" in postgresql