Sha256: 9fdba381fd797f657d1476c01b0880aecf3c5a613384796fca13f1d1d6794ac5

Contents?: true

Size: 318 Bytes

Versions: 9

Compression:

Stored size: 318 Bytes

Contents

class CreatePageflowPermalinks < ActiveRecord::Migration[5.2]
  def change
    create_table :pageflow_permalinks do |t|
      t.string :slug
      t.belongs_to :directory, index: true

      t.timestamps

      t.index ['slug', 'directory_id'], name: 'index_pageflow_peralinks_on_slug', unique: true
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pageflow-17.0.4 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-17.0.3 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-17.0.2 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-17.0.1 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-17.0.0 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-16.2.0 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-16.1.0 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-16.0.0 db/migrate/20221027065022_create_pageflow_permalinks.rb
pageflow-15.8.0 db/migrate/20221027065022_create_pageflow_permalinks.rb