Sha256: 615d14af73bbb74c82697b74fda62b852e7877340df058bb1e231e7c63f5cb2f

Contents?: true

Size: 703 Bytes

Versions: 69

Compression:

Stored size: 703 Bytes

Contents

class CreateKuhsaftPages < ActiveRecord::Migration

  def change
    create_table :kuhsaft_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
    end

    add_index :kuhsaft_pages, :ancestry
    add_index :kuhsaft_pages, :published
  end

end

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
kuhsaft-1.2.2 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.1 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.0 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.1.1 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.1.0 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.0.3 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.0.2 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.0.1 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.0.0 db/migrate/01_create_kuhsaft_pages.rb