Cannot set column names to numbers or symbols in postgresql / rails -


i need add columns in table tournament. columns correspond specific ranking , of boolean type. rankings name in real life : 40, 30/5, 30/4, 30/3 ect ect dont think can writte migration in rails :

class addrankingstotournaments < activerecord::migration   def change      add_column :tournaments, :40, :boolean     add_column :tournaments, :30/5, :boolean     add_column :tournaments, :30/3, :boolean   end end 

this not valid column names in rails , postgresql right ? best shot rename column names correct , still easy indentify ?


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -