sutty/db/migrate/20200615171026_create_log_entries.rb

12 lines
229 B
Ruby
Raw Permalink Normal View History

2020-06-16 22:10:54 +00:00
# frozen_string_literal: true
class CreateLogEntries < ActiveRecord::Migration[6.0]
def change
create_table :log_entries do |t|
t.timestamps
t.belongs_to :site, index: true
t.text :text
end
end
end