mastodon/db/migrate/20241123224956_create_terms...

15 lines
349 B
Ruby
Raw Permalink Normal View History

2024-12-09 11:04:46 +01:00
# frozen_string_literal: true
class CreateTermsOfServices < ActiveRecord::Migration[7.2]
def change
create_table :terms_of_services do |t|
t.text :text, null: false, default: ''
t.text :changelog, null: false, default: ''
t.datetime :published_at
t.datetime :notification_sent_at
t.timestamps
end
end
end