Sha256: 6c554d03a14bf1456579de80a7254a885d49e5cf7e7ad73cc3b92e0a1df8de61

Contents?: true

Size: 429 Bytes

Versions: 9

Compression:

Stored size: 429 Bytes

Contents

# encoding: utf-8
class CreateWiceGridSerializedQueries < ::ActiveRecord::Migration #:nodoc:
  def change #:nodoc:
    create_table :wice_grid_serialized_queries do |t|
      t.column :name,      :string
      t.column :grid_name, :string
      t.column :query,     :text

      t.timestamps
    end
    add_index :wice_grid_serialized_queries, :grid_name
    add_index :wice_grid_serialized_queries, [:grid_name, :id]
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
wice_grid_ms-3.6.2 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid_ms-3.6.1 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid_ms-3.6.0 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0.pre5 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0.pre4 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0.pre3 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0.pre2 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb
wice_grid-3.6.0.pre1 lib/generators/wice_grid/templates/create_wice_grid_serialized_queries.rb