diff --git a/db/migrate/20140318021747_create_schools.rb b/db/migrate/20140318021747_create_schools.rb new file mode 100644 index 000000000..3771f3891 --- /dev/null +++ b/db/migrate/20140318021747_create_schools.rb @@ -0,0 +1,12 @@ +class CreateSchools < ActiveRecord::Migration + + def change + create_table :schools do |t| + t.string :name + t.string :province + t.string :city + end + end + + +end diff --git a/db/schema.rb b/db/schema.rb index 071a4b44c..7721d8fdc 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20140318011702) do +ActiveRecord::Schema.define(:version => 20140318021747) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false @@ -598,6 +598,12 @@ ActiveRecord::Schema.define(:version => 20140318011702) do t.string "issues_visibility", :limit => 30, :default => "default", :null => false end + create_table "schools", :force => true do |t| + t.string "name" + t.string "province" + t.string "city" + end + create_table "seems_rateable_cached_ratings", :force => true do |t| t.integer "cacheable_id", :limit => 8 t.string "cacheable_type"