Sha256: 931b9129eef68519e28fc64de99d06f9ac8b799338d3109b32af8d6af9abe697

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

class CreateFormolUserPreferences < ActiveRecord::Migration
  def change
    create_table :formol_user_preferences do |t|
      t.belongs_to  :user
      t.string      :signature,       :limit => 120
      t.boolean     :use_signature,                   :default => true
    end
    
    add_index :formol_user_preferences, :user_id, :unique => true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 db/migrate/20120109220633_create_formol_user_preferences.rb
formol-0.0.5 db/migrate/20120109220633_create_formol_user_preferences.rb
formol-0.0.4 db/migrate/20120109220633_create_formol_user_preferences.rb