Sha256: 50ada00404164b1600ec7f82b0f754c93884ef13ff2be74adfe18dac65b3a357

Contents?: true

Size: 286 Bytes

Versions: 5

Compression:

Stored size: 286 Bytes

Contents

class CreateRtmlDocuments < ActiveRecord::Migration
  def self.up
    create_table :rtml_documents do |t|
      t.string :name
      t.text :description
      t.boolean :cache_on_terminal
      
      t.timestamps
    end
  end

  def self.down
    drop_table :rtml_documents
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rtml-2.0.4 rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb
rtml-2.0.3 rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb
rtml-2.0.2 rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb
rtml-2.0.1 rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb
rtml-2.0.0.alpha.1 rails_generators/rtml/templates/db/migrate/20100108165127_create_rtml_documents.rb