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.6.0 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.5.0 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.4.3 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.4.2 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.4.1 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.4.0 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.3.1 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.15 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.14 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.13 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.12 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.11 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.10 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.9 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.8 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.7 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.6 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.5 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.4 db/migrate/01_create_kuhsaft_pages.rb
kuhsaft-1.2.3 db/migrate/01_create_kuhsaft_pages.rb