Sha256: e0f44b8db3bcfc4865dadeb235fb5faa565f0c3a6867cafcd4233d1cdd0e56e2

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

class AddMicroServiceServer001Migration < ActiveRecord::Migration
	def self.up
		create_table :micro_service_servers do |t|
			t.string :client_id
			t.string :secret
			t.string :url
			t.integer :timestamp
			t.boolean :uninstalled
			t.integer :attempt

			t.timestamps null: false
		end
	end

	def self.down
		drop_table :micro_service_servers
	end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
micro_service_client-0.0.3 db/migrate/20160417050223_add_micro_service_server_0_0_1_migration.rb
micro_service-server-0.0.3 lib/generators/micro_service/server/templates/migration_0.0.1.rb
micro_service_client-0.0.2 db/migrate/20160417050223_add_micro_service_server_0_0_1_migration.rb
micro_service-server-0.0.2 lib/generators/micro_service/server/templates/migration_0.0.1.rb
micro_service-server-0.0.1 lib/generators/micro_service/server/templates/migration_0.0.1.rb