5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:31:41 +00:00
panel/db/migrate/20200615171026_create_log_entries.rb
2020-06-16 19:48:34 -03:00

11 lines
229 B
Ruby

# 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