5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-01 08:04:16 +00:00
panel/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