Sha256: a08e115d1af08cda3ae961ce010ed6b236e06875b0195878ef53c73a328d883c

Contents?: true

Size: 319 Bytes

Versions: 1

Compression:

Stored size: 319 Bytes

Contents

class CreateSubscribes < ActiveRecord::Migration[5.1]
  def change
    create_table :subscribes do |t|
      t.references :subscription, foreign_key: true
      t.uuid :work_id, null: false, index: true
      t.datetime :start_at, null: false
      t.datetime :end_at, null: false

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/20081006093246_create_subscribes.rb