Sha256: 1a3d80cf4286897eb060e6fe1242f03afc2b05d99a2d0b95995cd90c4acab411

Contents?: true

Size: 355 Bytes

Versions: 27

Compression:

Stored size: 355 Bytes

Contents

class CreateWillFilterFilters < ActiveRecord::Migration
  def change
    create_table :will_filter_filters do |t|
      t.string      :type
      t.string      :name
      t.text        :data
      t.integer     :user_id
      t.string      :model_class_name
      
      t.timestamps
    end
    
    add_index :will_filter_filters, [:user_id]
  end
end

Version data entries

27 entries across 24 versions & 3 rubygems

Version Path
will_filter-3.1.3 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.3 db/migrate/20110924023807_create_will_filter_filters.rb
tr8n-3.1.1 test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb
will_filter-3.1.2 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.2 db/migrate/20110924023807_create_will_filter_filters.rb
will_filter-3.1.1 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.1 db/migrate/20110924023807_create_will_filter_filters.rb