Sha256: b44054060810b54227a71de1269fc960aeb7dd91e1e65de8a5a43ec3bfe6bcba

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class CreateActivityProposals < ActiveRecord::Migration
  def self.up
    create_table :activity_proposals do |t|
      
      t.integer   :activity_id
      
      t.string    :label
      t.text      :comments
      t.timestamp :proposed_on

      t.timestamps
    end
  end

  def self.down
    drop_table :activity_proposals
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brisk-bills-0.8.2 db/migrate/013_create_activity_proposals.rb
brisk-bills-0.8.1 db/migrate/013_create_activity_proposals.rb