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.9 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.8 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.7 lib/generators/will_filter/templates/create_will_filter_filters.rb
platform-3.1.4 test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.2.3 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.2.2 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
will_filter-3.1.6 lib/generators/will_filter/templates/create_will_filter_filters.rb
will_filter-3.1.5 lib/generators/will_filter/templates/create_will_filter_filters.rb
tr8n-3.2.1 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.2.0 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.8 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.7 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
platform-3.1.3 test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.6 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.5 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.4 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.3 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
tr8n-3.1.2 local/tr8n_server/db/migrate/20110930041143_create_will_filter_filters.rb
platform-3.1.2 test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb
platform-3.1.1 test/dummy/db/migrate/20110930041143_create_will_filter_filters.rb