Sha256: 5066c9a92e2898c7742c1df4e095c020c25f2aeb8dce9afbe52883001941ccde
Contents?: true
Size: 522 Bytes
Versions: 4
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true class <%= migration_class_name %> < <%= migration_parent %> 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
4 entries across 4 versions & 1 rubygems