knadh / localStorageDB

A simple database layer for localStorage and sessionStorage for creating structured data in the form of databases and tables
http://nadh.in/code/localstoragedb
814 stars 128 forks source link

Is any easy way to add new field to existing table? #17

Closed lavrton closed 10 years ago

knadh commented 11 years ago

Not as of now. Let me look into this.

lavrton commented 11 years ago

This stuff will be REALLY useful for me. I think, that doing it outside library is bad idea.

knadh commented 11 years ago

Feel free to commit an alter() function :)

ashishsharma229 commented 10 years ago

Hi guys, can you provide me the updated JS file which have "alter()" function in it. I really need this functionality.

ashishsharma229 commented 10 years ago

Hi Knadh,

I have created two functions in library

  1. columnExitsts
  2. alterTable

Can you please tell me how can i add them here?

knadh commented 10 years ago

You can fork the repository, commit your changes, and send a pull request.

ashishsharma229 commented 10 years ago

pull request sent.

knadh commented 10 years ago

Great. Will test and merge.

ashishsharma229 commented 10 years ago

Hi knadh,

is everything ok with the changes committed by me?

knadh commented 10 years ago

Done :) Sorry for the delay, again.