5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:36:21 +00:00
panel/db/migrate/20200615171026_create_log_entries.rb

12 lines
229 B
Ruby
Raw 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