Sha256: 13fbbb5ae9d1db6a605b51ae354fe22de6a33f680cc6679029d9c43c249116ca
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
# frozen_string_literal: true class InstallSnapcher < ActiveRecord::Migration[7.1] def self.up create_table :scannings, :force => true do |t| t.column :scannable_id, :integer t.column :scannable_type, :string t.column :table_name, :string t.column :column_name, :string t.column :before_params, :string t.column :after_params, :string t.column :action, :string t.column :created_at, :datetime end end def self.down drop_table :scannings end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
snapcher-0.1.0 | sample-app/db/migrate/20231019151334_install_snapcher.rb |