jhshaw44 / TechDatabase

A web service used to search a database containing information about BCPSS schools and other information pertinent to the Office of Media and Instructional Technology.
0 stars 0 forks source link

Adding new fields to database #11

Closed eburch2 closed 7 years ago

eburch2 commented 7 years ago

At the moment we have to drop the table and remake it to create new columns. Can we see if rails' schemas or active record will shortcut this for us or make an automated SQL script? I'm pretty sure Josh wants to be able to add new columns and add it to a search group.

eburch2 commented 7 years ago

did it via raw SQL execution for adding to the data table and used rails update method for updating the search groups