Sha256: 6b2aa76c4981b02840e471ab33a964ce90cdeb917e22e36782a8aa34146923d8

Contents?: true

Size: 710 Bytes

Versions: 16

Compression:

Stored size: 710 Bytes

Contents

class CreateQbrickPages < ActiveRecord::Migration

  def change
    create_table :qbrick_pages do |t|
      t.integer :position
      t.string :title_en
      t.string :title_de
      t.string :slug_en
      t.string :slug_de
      t.string :keywords_en
      t.string :keywords_de
      t.text :description_en
      t.text :description_de
      t.text :body_en
      t.text :body_de
      t.integer :published
      t.references :page
      t.text :url_en
      t.text :url_de
      t.string :page_type
      t.text :fulltext_en
      t.text :fulltext_de
      t.string :ancestry
      t.timestamps null: true
    end

    add_index :qbrick_pages, :ancestry
    add_index :qbrick_pages, :published
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 db/migrate/01_create_qbrick_pages.rb
qbrick-2.7 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.10 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.9 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.8 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.7 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.6 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.5 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.4 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.3 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.2 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.1 db/migrate/01_create_qbrick_pages.rb
qbrick-2.6.0 db/migrate/01_create_qbrick_pages.rb
qbrick-2.5.2 db/migrate/01_create_qbrick_pages.rb
qbrick-2.5.1 db/migrate/01_create_qbrick_pages.rb
qbrick-2.5.0 db/migrate/01_create_qbrick_pages.rb