Sha256: 69e8a78a23934774ca0da5ccaed9192d679699ef953cf686f112f24a38deb4f7

Contents?: true

Size: 469 Bytes

Versions: 16

Compression:

Stored size: 469 Bytes

Contents

class CreateTemplateContent < ActiveRecord::Migration
  def self.up
      create_table(:template_contents, :options => Zena::Db.table_options) do |t|
        t.column :site_id, :integer
        t.column :node_id, :integer
        t.column :skin_name, :string
        t.column :format, :string
        t.column :tkpath, :string
        t.column :klass, :string
        t.column :mode, :string
      end
  end

  def self.down
    drop_table :template_contents
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
zena-0.16.9 db/migrate/010_create_template_content.rb
zena-1.0.0.beta3 db/migrate/010_create_template_content.rb
zena-0.16.8 db/migrate/010_create_template_content.rb
zena-1.0.0.beta2 db/migrate/010_create_template_content.rb
zena-1.0.0.beta1 db/migrate/010_create_template_content.rb
zena-0.16.7 db/migrate/010_create_template_content.rb
zena-0.16.6 db/migrate/010_create_template_content.rb
zena-0.16.5 db/migrate/010_create_template_content.rb
zena-0.16.4 db/migrate/010_create_template_content.rb
zena-0.16.3 db/migrate/010_create_template_content.rb
zena-0.16.2 db/migrate/010_create_template_content.rb
zena-0.16.1 db/migrate/010_create_template_content.rb
zena-0.16.0 db/migrate/010_create_template_content.rb
zena-0.15.2 db/migrate/010_create_template_content.rb
zena-0.15.1 db/migrate/010_create_template_content.rb
zena-0.15.0 db/migrate/010_create_template_content.rb