Add terms of service (#33055)
This commit is contained in:
		
							
								
								
									
										14
									
								
								db/migrate/20241123224956_create_terms_of_services.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								db/migrate/20241123224956_create_terms_of_services.rb
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
# 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
 | 
			
		||||
@@ -1103,6 +1103,15 @@ ActiveRecord::Schema[7.2].define(version: 2024_12_05_163118) do
 | 
			
		||||
    t.index "lower((name)::text) text_pattern_ops", name: "index_tags_on_name_lower_btree", unique: true
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  create_table "terms_of_services", force: :cascade do |t|
 | 
			
		||||
    t.text "text", default: "", null: false
 | 
			
		||||
    t.text "changelog", default: "", null: false
 | 
			
		||||
    t.datetime "published_at"
 | 
			
		||||
    t.datetime "notification_sent_at"
 | 
			
		||||
    t.datetime "created_at", null: false
 | 
			
		||||
    t.datetime "updated_at", null: false
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  create_table "tombstones", force: :cascade do |t|
 | 
			
		||||
    t.bigint "account_id"
 | 
			
		||||
    t.string "uri", null: false
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user