equal
deleted
inserted
replaced
1390 |
1390 |
1391 |
1391 |
1392 |
1392 |
1393 /** persistent store **/ |
1393 /** persistent store **/ |
1394 |
1394 |
1395 /** auxiliary **/ |
1395 /* SQL data model */ |
1396 |
1396 |
1397 sealed case class Build_Info( |
1397 sealed case class Build_Info( |
1398 sources: SHA1.Shasum, |
1398 sources: SHA1.Shasum, |
1399 input_heaps: SHA1.Shasum, |
1399 input_heaps: SHA1.Shasum, |
1400 output_heap: SHA1.Shasum, |
1400 output_heap: SHA1.Shasum, |
1430 |
1430 |
1431 val augment_table: PostgreSQL.Source = |
1431 val augment_table: PostgreSQL.Source = |
1432 "ALTER TABLE IF EXISTS " + table.ident + |
1432 "ALTER TABLE IF EXISTS " + table.ident + |
1433 " ADD COLUMN IF NOT EXISTS " + uuid.decl(SQL.sql_type_postgresql) |
1433 " ADD COLUMN IF NOT EXISTS " + uuid.decl(SQL.sql_type_postgresql) |
1434 } |
1434 } |
|
1435 |
|
1436 |
|
1437 /* store */ |
1435 |
1438 |
1436 class Store private[Sessions](val options: Options, val cache: Term.Cache) { |
1439 class Store private[Sessions](val options: Options, val cache: Term.Cache) { |
1437 store => |
1440 store => |
1438 |
1441 |
1439 override def toString: String = "Store(output_dir = " + output_dir.absolute + ")" |
1442 override def toString: String = "Store(output_dir = " + output_dir.absolute + ")" |