- 16 Jul, 2017 3 commits
-
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
- 14 Jul, 2017 1 commit
-
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
- 13 Jul, 2017 1 commit
-
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
- 06 Jul, 2017 4 commits
-
-
Gnanakeethan Balasubramaniam authored
Summary: Foreign Key functions are now available Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
Gnanakeethan Balasubramaniam authored
Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
Gnanakeethan Balasubramaniam authored
Summary: The database migrations now can be created using the methods on the migration struct. it does not break any existing migration features. it upgrades the migration struct and adds few more struct types so that the migrations can be efficiently generated for create, alter, reverse, drop. Current Features: * Supports creation of columns * `m.NewCol("name").SetDataType("VARCHAR(10)").SetNullable("true")` * **NOTE** `SetNullable` & `SetDefault` methods should not be called on same column for consistency * Supports addition of primary keys * `m.PriCol("id").SetDataType("INT(10)").SetNullable("true")` * **NOTE** `setAuto(true)` can be only called on Primary keys * Supports addition of unique keys * `m.UniCol("unique_index","column_name").SetDataType("VARCHAR(23)").SetNullable("true")` * **NOTE** `UniCol` can be called again with the same index name to add column to the index * Supports rename of columns * `m.RenameColumn("from_name","to_name")` * Allows standard column methods and methods such that, `SetOldDefault` allows reversibility of renames * TODO: * ForeignKey Signed-off-by: Gnanakeethan Balasubramaniam <gnanakeethan@gmail.com>
-
- 04 Jul, 2017 2 commits
- 03 Jul, 2017 2 commits
- 01 Jul, 2017 1 commit
-
-
astaxie authored
validation: support int64 int32 int16 and int8 type on 64-bit platform
-
- 28 Jun, 2017 1 commit
-
-
miraclesu authored
support int64 on 64-bit platform
-
- 27 Jun, 2017 2 commits
-
-
- 22 Jun, 2017 6 commits
-
-
-
-
-
-
-
Jia Li Ong authored
-
- 21 Jun, 2017 1 commit
-
-
miraclesu authored
-
- 16 Jun, 2017 4 commits
- 15 Jun, 2017 2 commits
-
-
moqiancong authored
-
JessonChan authored
-
- 13 Jun, 2017 3 commits
- 12 Jun, 2017 1 commit
-
-
eyalpost authored
-
- 09 Jun, 2017 2 commits
- 02 Jun, 2017 1 commit
-
-
Jia Li Ong authored
-
- 19 May, 2017 3 commits