Remove old ln columns from users table
This commit is contained in:
		
							parent
							
								
									931624cf95
								
							
						
					
					
						commit
						84ed4b2de2
					
				
							
								
								
									
										6
									
								
								db/migrate/20250506154628_remove_ln_fields_from_users.rb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								db/migrate/20250506154628_remove_ln_fields_from_users.rb
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
class RemoveLnFieldsFromUsers < ActiveRecord::Migration[8.0]
 | 
			
		||||
  def change
 | 
			
		||||
    remove_column :users, :ln_account
 | 
			
		||||
    remove_column :users, :ln_password_ciphertext
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
@ -10,7 +10,7 @@
 | 
			
		||||
#
 | 
			
		||||
# It's strongly recommended that you check this file into your version control system.
 | 
			
		||||
 | 
			
		||||
ActiveRecord::Schema[8.0].define(version: 2025_05_06_125947) do
 | 
			
		||||
ActiveRecord::Schema[8.0].define(version: 2025_05_06_154628) do
 | 
			
		||||
  create_table "active_storage_attachments", force: :cascade do |t|
 | 
			
		||||
    t.string "name", null: false
 | 
			
		||||
    t.string "record_type", null: false
 | 
			
		||||
@ -127,8 +127,6 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_06_125947) do
 | 
			
		||||
    t.datetime "confirmed_at", precision: nil
 | 
			
		||||
    t.datetime "confirmation_sent_at", precision: nil
 | 
			
		||||
    t.string "unconfirmed_email"
 | 
			
		||||
    t.text "ln_password_ciphertext"
 | 
			
		||||
    t.string "ln_account"
 | 
			
		||||
    t.datetime "remember_created_at"
 | 
			
		||||
    t.string "remember_token"
 | 
			
		||||
    t.text "preferences"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user