Sha256: e2c9861635db512cb29082041b48e58ee299e98b0730fff4a9b636a7bfd2cefc
Contents?: true
Size: 390 Bytes
Versions: 412
Compression:
Stored size: 390 Bytes
Contents
class CreateSubscribes < ActiveRecord::Migration def change create_table :subscribes do |t| t.integer :subscription_id, :null => false t.integer :work_id, :null => false t.datetime :start_at, :null => false t.datetime :end_at, :null => false t.timestamps end add_index :subscribes, :subscription_id add_index :subscribes, :work_id end end
Version data entries
412 entries across 409 versions & 24 rubygems