Sha256: b80f7a5e946ff423dc418a010c9a2e24f6854b51e2565235f7f99212c7eb9f53

Contents?: true

Size: 242 Bytes

Versions: 4

Compression:

Stored size: 242 Bytes

Contents

# Create records table
class CreateRecords < ActiveRecord::Migration[5.0]
  def change
    create_table :records do |t|
      t.string :content, default: "{}"
      t.references :group, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vapid-0.1.3 lib/vapid/db/migrate/20170202183017_create_records.rb
vapid-0.1.2 lib/vapid/db/migrate/20170202183017_create_records.rb
vapid-0.1.1 lib/vapid/db/migrate/20170202183017_create_records.rb
vapid-0.1.0 lib/vapid/db/migrate/20170202183017_create_records.rb