Sha256: 0f79b636b4223b902067c10d6756eb30eeab1854baac4ea60a0e073a7ee724cd

Contents?: true

Size: 309 Bytes

Versions: 63

Compression:

Stored size: 309 Bytes

Contents

class CreateGratitudeRecordings < ActiveRecord::Migration
  def change
    create_table :gratitude_recordings do |t|
      t.integer :participant_id, null: false
      t.text :description, null: false

      t.timestamps null: false
    end

    add_foreign_key :gratitude_recordings, :participants
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
think_feel_do_engine-3.22.9 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.8 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.7 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.6 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.5 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.4 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.2 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.1 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.22.0 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.21.2 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.21.1 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.21.0 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.20.1 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.9 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.8 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.7 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.6 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.5 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.4 db/migrate/20160203222002_create_gratitude_recordings.rb
think_feel_do_engine-3.19.3 db/migrate/20160203222002_create_gratitude_recordings.rb