Louis | Adds agencies

This commit is contained in:
Loos
2014-09-21 18:23:15 -05:00
parent 36e7c1624f
commit 7ed3fce648
14 changed files with 180 additions and 3 deletions
@@ -0,0 +1,14 @@
class CreateAgenciesTable < ActiveRecord::Migration
def change
create_table :agencies do |t|
t.string :agency_name
t.string :contact_name
t.string :street_address
t.string :city
t.string :state
t.string :postal_code
t.string :phone_number
t.string :email
end
end
end
+12 -1
View File
@@ -11,11 +11,22 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140921224502) do
ActiveRecord::Schema.define(version: 20140921225115) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "agencies", force: true do |t|
t.string "agency_name"
t.string "contact_name"
t.string "street_address"
t.string "city"
t.string "state"
t.string "postal_code"
t.string "phone_number"
t.string "email"
end
create_table "bikes", force: true do |t|
t.string "entry_date"
t.string "brand"