class CreatePostJsonDynamicIndexes

Public Instance Methods

change() click to toggle source
# File lib/generators/post_json/install/templates/create_post_json_dynamic_indexes.rb, line 2
def change
  create_table :post_json_dynamic_indexes, id: :uuid do |t|
    t.text :selector, index: true, null: false
    t.uuid :model_settings_id, index: true
    t.timestamps
  end
end