Sha256: 5628b1bc8d6750528536984a915f0d8242fa70c9032374e8070026609e3a8e14
Contents?: true
Size: 387 Bytes
Versions: 30
Compression:
Stored size: 387 Bytes
Contents
class AddPages < ActiveRecord::Migration def self.up create_table :pages do |t| t.column :name, :string t.column :user_id, :integer t.column :body, :text t.column :body_html, :text t.column :text_filter, :string t.column :created_at, :datetime t.column :updated_at, :datetime end end def self.down drop_table :pages end end
Version data entries
30 entries across 30 versions & 1 rubygems