datasource as cfg: adds readonly datasources

This commit is contained in:
bergquist
2017-11-15 14:30:32 +01:00
parent c6a6ae261f
commit 36676e23c1
8 changed files with 56 additions and 9 deletions
@@ -126,4 +126,8 @@ func addDataSourceMigration(mg *Migrator) {
Sqlite(setVersionToOneWhereZero).
Postgres(setVersionToOneWhereZero).
Mysql(setVersionToOneWhereZero))
mg.AddMigration("Add read_only data column", NewAddColumnMigration(tableV2, &Column{
Name: "read_only", Type: DB_Bool, Nullable: true,
}))
}