Sha256: 118dd3c5d085d16d652d057dd56c68b3027364a6f249d6882c7613f5e3adb793

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

class DropUserInvitations < ActiveRecord::Migration
	def self.up
		drop_table :user_invitations
	end

	def self.down
		create_table :user_invitations do |t|
			t.integer  :sender_id
			t.string   :email
			t.string   :token
			t.datetime :accepted_at
			t.integer  :recipient_id
			t.text     :message
			t.datetime :sent_at
			t.timestamps
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ccls-ccls_engine-3.11.0 generators/ccls_engine/templates/migrations/drop_user_invitations.rb