Sha256: 652f8b668f3e5e81410cd754fdc4cb6f02d55b3a15488f45af787316bff59dd9

Contents?: true

Size: 197 Bytes

Versions: 44

Compression:

Stored size: 197 Bytes

Contents

class AddApiKeysTable < ActiveRecord::Migration
	def self.up
		create_table :api_keys do |t|
			t.text :token
			t.timestamps null: false
		end
	end
	def self.down
		drop_table :api_keys
	end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
metasploit_data_models-1.0.1 db/migrate/20110527000001_add_api_keys_table.rb
metasploit_data_models-1.0.0 db/migrate/20110527000001_add_api_keys_table.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0b db/migrate/20110527000001_add_api_keys_table.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0a db/migrate/20110527000001_add_api_keys_table.rb