Sha256: 3e2dd37eddfc46f973eed5b96f2a141bee8b2b489f1a6967fa2cc33f32936cb6

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

class CreateSettings < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :settings do |t|
      t.string   :copyright
      t.string   :email
      t.string   :company_name
      t.string   :contact_email
      t.string   :email_header_from
      t.text     :index_meta_description
      t.string   :index_meta_title
      t.integer  :per_page, default: 10
      t.text     :seo_google_analytics
      t.text     :seo_yandex_metrika
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/install/settings_migration.rb
adminos-1.0.0.pre.rc.4 lib/generators/templates/install/settings_migration.rb
adminos-1.0.0.pre.rc.3 lib/generators/templates/install/settings_migration.rb
adminos-1.0.0.pre.rc.2 lib/generators/templates/install/settings_migration.rb
adminos-1.0.0.pre.rc.1 lib/generators/templates/install/settings_migration.rb